diff options
author | Tom Stellard <[email protected]> | 2012-05-25 10:59:52 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-25 15:40:58 -0400 |
commit | 667cdba2118cf82e0027bf44314c9d1334d00840 (patch) | |
tree | cdd44ee1a68b23032981dcc1c21869c76a030fb4 /src/gallium/drivers/radeon/R600LowerInstructions.cpp | |
parent | d784bc77405012b442ae9d68f200e9d115030b3c (diff) |
radeon/llvm: Use a custom inserter to lower FNEG
Diffstat (limited to 'src/gallium/drivers/radeon/R600LowerInstructions.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/R600LowerInstructions.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gallium/drivers/radeon/R600LowerInstructions.cpp b/src/gallium/drivers/radeon/R600LowerInstructions.cpp index 1795b38dfb6..3b96b195fe6 100644 --- a/src/gallium/drivers/radeon/R600LowerInstructions.cpp +++ b/src/gallium/drivers/radeon/R600LowerInstructions.cpp @@ -224,23 +224,6 @@ bool R600LowerInstructionsPass::runOnMachineFunction(MachineFunction &MF) continue; } - case AMDIL::NEGATE_i32: - BuildMI(MBB, I, MBB.findDebugLoc(I), TII->get(AMDIL::SUB_INT)) - .addOperand(MI.getOperand(0)) - .addReg(AMDIL::ZERO) - .addOperand(MI.getOperand(1)); - break; - - case AMDIL::NEG_f32: - { - MI.getOperand(1).addTargetFlag(MO_FLAG_NEG); - BuildMI(MBB, I, MBB.findDebugLoc(I), - TII->get(TII->getISAOpcode(AMDIL::MOV))) - .addOperand(MI.getOperand(0)) - .addOperand(MI.getOperand(1)); - break; - } - case AMDIL::ULT: BuildMI(MBB, I, MBB.findDebugLoc(I), TII->get(AMDIL::SETGT_UINT)) .addOperand(MI.getOperand(0)) |