Skip to content

Commit 47a582d

Browse files
committed
fixup
1 parent 1156d98 commit 47a582d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/lib/Target/DirectX/DXIL.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,9 +924,9 @@ def CreateHandleFromBinding : DXILOp<217, createHandleFromBinding> {
924924
let stages = [Stages<DXIL1_6, [all_stages]>];
925925
}
926926

927-
def WaveActiveAllTrue : DXILOp<334, waveAllTrue> {
927+
def WaveActiveAllTrue : DXILOp<114, waveAllTrue> {
928928
let Doc = "returns true if the expression is true in all of the active lanes in the current wave";
929-
let LLVMIntrinsic = int_dx_wave_all;
929+
let intrinsics = [ IntrinSelect<int_dx_wave_all> ];
930930
let arguments = [Int1Ty];
931931
let result = Int1Ty;
932932
let stages = [Stages<DXIL1_0, [all_stages]>];

llvm/test/CodeGen/DirectX/WaveActiveAllTrue.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
define noundef i1 @wave_all_simple(i1 noundef %p1) {
44
entry:
5-
; CHECK: call i1 @dx.op.waveAllTrue(i32 334, i1 %p1)
5+
; CHECK: call i1 @dx.op.waveAllTrue(i32 114, i1 %p1)
66
%ret = call i1 @llvm.dx.wave.all(i1 %p1)
77
ret i1 %ret
88
}

0 commit comments

Comments
 (0)