llvm-project/llvm/test/CodeGen/DirectX/WaveActiveBallot.ll
Joshua Batista ff617bce04
[HLSL] Fix WaveBallot dxil op function name (#174901)
Just fixing a typo from a copy paste.
2026-01-08 10:17:47 -08:00

11 lines
352 B
LLVM

; RUN: opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-compute %s | FileCheck %s
define noundef <4 x i32> @wave_ballot_simple(i1 noundef %p1) {
entry:
; CHECK: call <4 x i32> @dx.op.waveBallot.void(i32 118, i1 %p1)
%ret = call <4 x i32> @llvm.dx.wave.ballot(i1 %p1)
ret <4 x i32> %ret
}
declare <4 x i32> @llvm.dx.wave.ballot(i1)