summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrInfo.td
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-11-25 14:40:57 +0000
committerTim Northover <tnorthover@apple.com>2013-11-25 14:40:57 +0000
commit761bf235a846d784ddf55a192504ee133b3eba58 (patch)
treed9b399bbfcf087a038ed1300d363a88698ca7a99 /lib/Target/ARM/ARMInstrInfo.td
parentb42574a1f201e6f77f57dff5b232820f1c164323 (diff)
downloadllvm-761bf235a846d784ddf55a192504ee133b3eba58.tar.gz
llvm-761bf235a846d784ddf55a192504ee133b3eba58.tar.bz2
llvm-761bf235a846d784ddf55a192504ee133b3eba58.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.td')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index 2042c04609..6b9485c0b8 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -5206,8 +5206,6 @@ def MOV_ga_pcrel_ldr : PseudoInst<(outs GPR:$dst), (ins i32imm:$addr),
} // isReMaterializable
// ConstantPool, GlobalAddress, and JumpTable
-def : ARMPat<(ARMWrapper tglobaladdr :$dst), (LEApcrel tglobaladdr :$dst)>,
- Requires<[IsARM, DontUseMovt]>;
def : ARMPat<(ARMWrapper tconstpool :$dst), (LEApcrel tconstpool :$dst)>;
def : ARMPat<(ARMWrapper tglobaladdr :$dst), (MOVi32imm tglobaladdr :$dst)>,
Requires<[IsARM, UseMovt]>;