diff options
author | Tom Stellard <[email protected]> | 2012-09-05 14:36:21 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-09-11 14:53:48 -0400 |
commit | 843ac06ad27fe25293a32a991156ee364ef23cf1 (patch) | |
tree | 27fbb30c625cbe4dfb7e4ba28569b2557d3191cb /src/gallium | |
parent | d399ce7615d58486dda34d953ade6ad7b837bc42 (diff) |
radeon/llvm: Fix operand order of V_CNDMASK in custom inserter
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | 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 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(); |