From 9e522bd201e7cba526e19f7f0422d5cf781be6e8 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 27 Apr 2012 16:22:58 -0400 Subject: [PATCH] r600g/llvm: Lower ULT A, B, C to SETGT_UINT A, C, B --- src/gallium/drivers/radeon/R600LowerInstructions.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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; } -- 2.30.2