diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-08-01 00:32:39 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-08-01 00:32:39 +0000 |
commit | b4a313a76f8cff741388ae652bb64c4fbe489051 (patch) | |
tree | d5cbfe3beac3d16942c2b81d3a3aa56451b37fe4 /llvm/lib/Target/R600/SILowerI1Copies.cpp | |
parent | 6655dd699f6e473aef52779ca922a2f43b5f6022 (diff) | |
download | bcm5719-llvm-b4a313a76f8cff741388ae652bb64c4fbe489051.tar.gz bcm5719-llvm-b4a313a76f8cff741388ae652bb64c4fbe489051.zip |
R600/SI: Do abs/neg folding with ComplexPatterns
Abs/neg folding has moved out of foldOperands and into the instruction
selection phase using complex patterns. As a consequence of this
change, we now prefer to select the 64-bit encoding for most
instructions and the modifier operands have been dropped from
integer VOP3 instructions.
llvm-svn: 214467
Diffstat (limited to 'llvm/lib/Target/R600/SILowerI1Copies.cpp')
-rw-r--r-- | llvm/lib/Target/R600/SILowerI1Copies.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/R600/SILowerI1Copies.cpp b/llvm/lib/Target/R600/SILowerI1Copies.cpp index db19235995b..4ba87a5f9a1 100644 --- a/llvm/lib/Target/R600/SILowerI1Copies.cpp +++ b/llvm/lib/Target/R600/SILowerI1Copies.cpp @@ -136,11 +136,7 @@ bool SILowerI1Copies::runOnMachineFunction(MachineFunction &MF) { SrcRC == &AMDGPU::VReg_1RegClass) { BuildMI(MBB, &MI, MI.getDebugLoc(), TII->get(AMDGPU::V_CMP_NE_I32_e64)) .addOperand(MI.getOperand(0)) - .addImm(0) .addOperand(MI.getOperand(1)) - .addImm(0) - .addImm(0) - .addImm(0) .addImm(0); MI.eraseFromParent(); } |