Skip to content

Commit 40027db

Browse files
committed
Remove COPY_TO_REGCLASS
1 parent f8b114e commit 40027db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/AMDGPU/SIInstructions.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2483,8 +2483,7 @@ def : AMDGPUPatIgnoreCopies <
24832483
// (z & ~x)
24842484
def : AMDGPUPatIgnoreCopies <
24852485
(DivergentBinFrag<and> i32:$z, (not_oneuse i32:$x)),
2486-
(V_BFI_B32_e64 (COPY_TO_REGCLASS VSrc_b32:$x, VGPR_32), (i32 0),
2487-
(COPY_TO_REGCLASS VSrc_b32:$z, VGPR_32))
2486+
(V_BFI_B32_e64 VSrc_b32:$x, (i32 0), VSrc_b32:$z)
24882487
>;
24892488

24902489
// 64-bit version

0 commit comments

Comments
 (0)