[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
This commit is contained in:
Eli Friedman 2019-07-24 23:36:14 +00:00
parent 5cd5f9b65d
commit 82e109279d
1 changed files with 0 additions and 5 deletions

View File

@ -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.