summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-12-15 23:52:36 +0000
committerJim Grosbach <grosbach@apple.com>2010-12-15 23:52:36 +0000
commitbfef309d11f186f459e64d99767f07d70da5fb4c (patch)
tree730fd310941fca067f88cccf2a834f98e3972a7b /llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
parent347f4c32e81ec09997dbc5b52c5c061cda33aba5 (diff)
downloadbcm5719-llvm-bfef309d11f186f459e64d99767f07d70da5fb4c.tar.gz
bcm5719-llvm-bfef309d11f186f459e64d99767f07d70da5fb4c.zip
Thumb1 had two patterns for the same load-from-constant-pool instruction.
Canonicalize on tLDRpci and remove tLDRcp. llvm-svn: 121920
Diffstat (limited to 'llvm/lib/Target/ARM/ARMConstantIslandPass.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMConstantIslandPass.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
index 8066cb735b1..126078aae3c 100644
--- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -615,7 +615,6 @@ void ARMConstantIslands::InitialFunctionScan(MachineFunction &MF,
break;
case ARM::tLDRpci:
- case ARM::tLDRcp:
Bits = 8;
Scale = 4; // +(offset_8*4)
break;
OpenPOWER on IntegriCloud