diff options
author | Tom Stellard <[email protected]> | 2012-04-27 16:22:58 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-03 09:20:23 -0400 |
commit | 9e522bd201e7cba526e19f7f0422d5cf781be6e8 (patch) | |
tree | 84a7fa927c6b4e8fbe56e710eb266e5eb6cd6180 /src/gallium/drivers/radeon/R600LowerInstructions.cpp | |
parent | a2e08a40f5144a3533de9c3ede422a34b7a44255 (diff) |
r600g/llvm: Lower ULT A, B, C to SETGT_UINT A, C, B
Diffstat (limited to 'src/gallium/drivers/radeon/R600LowerInstructions.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/R600LowerInstructions.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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; } |