Skip to content

Commit 1301661

Browse files
committed
A minor code change.
1 parent 73de6a8 commit 1301661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/MIMGInstructions.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ multiclass MIMG_Atomic <mimgopc op, string asm, bit isCmpSwap = 0, bit isFP = 0,
11231123
defm _V1 : MIMG_Atomic_Addr_Helper_m <op, asm, !if(isCmpSwap, VReg_64, VGPR_32), 1, isFP, renamed>;
11241124
let VDataDwords = !if(isCmpSwap, 4, 2) in
11251125
defm _V2 : MIMG_Atomic_Addr_Helper_m <op, asm, !if(isCmpSwap, VReg_128, VReg_64), 0, isFP, renamed>;
1126-
let VDataDwords = !if(isCmpSwap, 3, 3) in
1126+
let VDataDwords = 3 in
11271127
defm _V3 : MIMG_Atomic_Addr_Helper_m <op, asm, VReg_96, 0, isFP, renamed>;
11281128

11291129
if isCmpSwap then {

0 commit comments

Comments
 (0)