diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-12-15 23:52:36 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-12-15 23:52:36 +0000 |
commit | bfef309d11f186f459e64d99767f07d70da5fb4c (patch) | |
tree | 730fd310941fca067f88cccf2a834f98e3972a7b /llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | |
parent | 347f4c32e81ec09997dbc5b52c5c061cda33aba5 (diff) | |
download | bcm5719-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.cpp | 1 |
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; |