1; RUN: opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-compute %s | FileCheck %s 2 3define void @main() #0 { 4entry: 5; CHECK: call i1 @dx.op.waveIsFirstLane(i32 110) 6 %0 = call i1 @llvm.dx.wave.is.first.lane() 7 ret void 8} 9 10; CHECK-NOT: attributes {{.*}} memory(none) 11 12declare i1 @llvm.dx.wave.is.first.lane() #1 13 14attributes #0 = { convergent norecurse "hlsl.numthreads"="1,1,1" "hlsl.shader"="compute" "no-trapping-math"="true" "stack-protector-buffer-size"="8" } 15attributes #1 = { convergent nocallback nofree nosync nounwind willreturn } 16