mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 11:20:11 +01:00
radeon/llvm: fix ABS_i32 instruction lowering
Swap source operands. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
This commit is contained in:
parent
3a6a1cd75f
commit
06db74a753
1 changed files with 2 additions and 2 deletions
|
|
@ -93,8 +93,8 @@ bool R600LowerInstructionsPass::runOnMachineFunction(MachineFunction &MF)
|
|||
&AMDIL::R600_TReg32RegClass);
|
||||
BuildMI(MBB, I, MBB.findDebugLoc(I), TII->get(AMDIL::SETGE_INT),
|
||||
setgt)
|
||||
.addOperand(MI.getOperand(1))
|
||||
.addReg(AMDIL::ZERO);
|
||||
.addReg(AMDIL::ZERO)
|
||||
.addOperand(MI.getOperand(1));
|
||||
|
||||
unsigned add_int = MRI->createVirtualRegister(
|
||||
&AMDIL::R600_TReg32RegClass);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue