From: Tom Stellard Date: Fri, 27 Apr 2012 20:22:58 +0000 (-0400) Subject: r600g/llvm: Lower ULT A, B, C to SETGT_UINT A, C, B X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e522bd201e7cba526e19f7f0422d5cf781be6e8;p=mesa.git r600g/llvm: Lower ULT A, B, C to SETGT_UINT A, C, B --- diff --git a/src/gallium/drivers/radeon/R600LowerInstructions.cpp b/src/gallium/drivers/radeon/R600LowerInstructions.cpp index 8395d22c4ad..181c60650cc 100644 --- a/src/gallium/drivers/radeon/R600LowerInstructions.cpp +++ b/src/gallium/drivers/radeon/R600LowerInstructions.cpp @@ -343,6 +343,13 @@ bool R600LowerInstructionsPass::runOnMachineFunction(MachineFunction &MF) break; } + case AMDIL::ULT: + BuildMI(MBB, I, MBB.findDebugLoc(I), TII->get(AMDIL::SETGT_UINT)) + .addOperand(MI.getOperand(0)) + .addOperand(MI.getOperand(2)) + .addOperand(MI.getOperand(1)); + break; + default: continue; }