From: Tom Stellard Date: Wed, 5 Sep 2012 18:36:21 +0000 (-0400) Subject: radeon/llvm: Fix operand order of V_CNDMASK in custom inserter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=843ac06ad27fe25293a32a991156ee364ef23cf1;p=mesa.git radeon/llvm: Fix operand order of V_CNDMASK in custom inserter Reviewed-by: Michel Dänzer --- diff --git a/src/gallium/drivers/radeon/SIISelLowering.cpp b/src/gallium/drivers/radeon/SIISelLowering.cpp index 42c2e7f7ceb..3f23949ae90 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();