[Mesa-dev] [PATCH 10/10] radeon/llvm: Fix operand order of V_CNDMASK in custom inserter
Tom Stellard
tom at stellard.net
Fri Sep 7 09:09:29 PDT 2012
From: Tom Stellard <thomas.stellard at amd.com>
---
src/gallium/drivers/radeon/SIISelLowering.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/radeon/SIISelLowering.cpp b/src/gallium/drivers/radeon/SIISelLowering.cpp
index 42c2e7f..3f23949 100644
--- a/src/gallium/drivers/radeon/SIISelLowering.cpp
+++ b/src/gallium/drivers/radeon/SIISelLowering.cpp
@@ -261,8 +261,8 @@ void SITargetLowering::LowerSI_V_CNDLT(MachineInstr *MI, MachineBasicBlock &BB,
BuildMI(BB, I, BB.findDebugLoc(I), TII->get(AMDGPU::V_CNDMASK_B32))
.addOperand(MI->getOperand(0))
- .addOperand(MI->getOperand(2))
.addOperand(MI->getOperand(3))
+ .addOperand(MI->getOperand(2))
.addReg(AMDGPU::VCC);
MI->eraseFromParent();
--
1.7.3.4
More information about the mesa-dev
mailing list