From 843ac06ad27fe25293a32a991156ee364ef23cf1 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 5 Sep 2012 14:36:21 -0400 Subject: [PATCH] radeon/llvm: Fix operand order of V_CNDMASK in custom inserter MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Michel Dänzer --- src/gallium/drivers/radeon/SIISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.30.2