brintos

brintos / llvm-project-archived public Read only

0
0
Text · 547 B · 6740d40 Raw
16 lines · plain
1; RUN: opt -S  -dxil-op-lower  -mtriple=dxil-pc-shadermodel6.3-compute %s | FileCheck %s2 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 void8}9 10; CHECK-NOT: attributes {{.*}} memory(none)11 12declare i1 @llvm.dx.wave.is.first.lane() #113 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