Files
clang-p2996/llvm/test/Transforms/OpenMP/no-insert-nvvm-annotations.ll

13 lines
245 B
LLVM

; 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() {
ret void
}
!llvm.module.flags = !{!0}
!0 = !{i32 7, !"openmp", i32 50}