summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2019-07-24 23:36:14 +0000
committerEli Friedman <efriedma@quicinc.com>2019-07-24 23:36:14 +0000
commit82e109279d781aa7690d65a9401e7a9b492c7ccb (patch)
tree69daad3e81dfe352f2a0b05c1b1c8d8569d155c7 /llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
parent5cd5f9b65ddb6c1f3b79fd76df3ba6f2c182f004 (diff)
downloadbcm5719-llvm-82e109279d781aa7690d65a9401e7a9b492c7ccb.tar.gz
bcm5719-llvm-82e109279d781aa7690d65a9401e7a9b492c7ccb.zip
[ARM] Remove dead code from ARMConstantIslands.
tLDRHi is not a pc-relative load; it can't directly refer to a constant pool or jump table. llvm-svn: 366963
Diffstat (limited to 'llvm/lib/Target/ARM/ARMConstantIslandPass.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMConstantIslandPass.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
index 46e497ea098..c97cb08c6b8 100644
--- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -824,11 +824,6 @@ initializeFunctionInfo(const std::vector<MachineInstr*> &CPEMIs) {
Scale = 2; // +-(offset_8*2)
NegOk = true;
break;
-
- case ARM::tLDRHi:
- Bits = 5;
- Scale = 2; // +(offset_5*2)
- break;
}
// Remember that this is a user of a CP entry.
OpenPOWER on IntegriCloud