diff options
author | Tim Northover <tnorthover@apple.com> | 2013-11-25 14:40:57 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-11-25 14:40:57 +0000 |
commit | dfe2156c91e74b60a1d9c55165dbe95cf468d55f (patch) | |
tree | 4610a1688ec540c75a68f55c6e23399c1183a4c8 /llvm/lib/Target/ARM/ARMInstrThumb.td | |
parent | 6b0f6af37403bef3f5ca658340b0ba96f54694e7 (diff) | |
download | bcm5719-llvm-dfe2156c91e74b60a1d9c55165dbe95cf468d55f.tar.gz bcm5719-llvm-dfe2156c91e74b60a1d9c55165dbe95cf468d55f.zip |
ARM: remove unused patterns.
There is no sane way for an LEApcrel (= single ADR) instruction to generate a
global address on any ARM target I know of. Fortunately, no-one was trying to
any more, but there were vestigial patterns.
llvm-svn: 195644
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrThumb.td')
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrThumb.td | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td index af5ef537b53..bf66ade8f8b 100644 --- a/llvm/lib/Target/ARM/ARMInstrThumb.td +++ b/llvm/lib/Target/ARM/ARMInstrThumb.td @@ -1306,8 +1306,7 @@ def : T1Pat<(addc tGPR:$lhs, imm8_255_neg:$rhs), def : T1Pat<(subc tGPR:$lhs, tGPR:$rhs), (tSUBrr tGPR:$lhs, tGPR:$rhs)>; -// ConstantPool, GlobalAddress -def : T1Pat<(ARMWrapper tglobaladdr :$dst), (tLEApcrel tglobaladdr :$dst)>; +// ConstantPool def : T1Pat<(ARMWrapper tconstpool :$dst), (tLEApcrel tconstpool :$dst)>; // JumpTable |