aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Transforms/OpenMP/no-insert-nvvm-annotations.ll
blob: 81c39b45ff8d087c377d7cb7ab55d5098ad5ca97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: opt -S -passes=openmp-opt < %s | FileCheck %s
; Make sure nvvm.annotations isn't introduced into the module

; CHECK-NOT: nvvm

define amdgpu_kernel void @foo() "kernel" {
  ret void
}

!llvm.module.flags = !{!0}

!0 = !{i32 7, !"openmp", i32 50}