llvm/llvm/test/CodeGen/DirectX/WaveGetLaneIndex.ll

; RUN: opt -S  -dxil-op-lower  -mtriple=dxil-pc-shadermodel6.3-compute %s | FileCheck %s

define void @main() {
entry:
; CHECK: call i32 @dx.op.waveGetLaneIndex(i32 111)
  %0 = call i32 @llvm.dx.wave.getlaneindex()
  ret void
}

declare i32 @llvm.dx.wave.getlaneindex()