1 ; RUN: opt < %s -S -mtriple=nvptx-nvidia-cuda -passes=nvvm-reflect | FileCheck %s
2 ; RUN: opt < %s -S -mtriple=nvptx-nvidia-cuda -passes=nvvm-reflect | FileCheck %s
4 declare i32 @__nvvm_reflect(ptr)
5 @str = private unnamed_addr addrspace(1) constant [11 x i8] c"__CUDA_FTZ\00"
8 %call = call i32 @__nvvm_reflect(ptr addrspacecast (ptr addrspace(1) @str to ptr))
13 !llvm.module.flags = !{!0}
14 !0 = !{i32 4, !"nvvm-reflect-ftz", i32 42}