Module: Mesa Branch: master Commit: 843ac06ad27fe25293a32a991156ee364ef23cf1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=843ac06ad27fe25293a32a991156ee364ef23cf1
Author: Tom Stellard <[email protected]> Date: Wed Sep 5 14:36:21 2012 -0400 radeon/llvm: Fix operand order of V_CNDMASK in custom inserter Reviewed-by: Michel Dänzer <[email protected]> --- 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(); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
