[llvm] r366963 - [ARM] Remove dead code from ARMConstantIslands.
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 16:36:14 PDT 2019
Author: efriedma
Date: Wed Jul 24 16:36:14 2019
New Revision: 366963
URL: http://llvm.org/viewvc/llvm-project?rev=366963&view=rev
Log:
[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.
Modified:
llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp?rev=366963&r1=366962&r2=366963&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp Wed Jul 24 16:36:14 2019
@@ -824,11 +824,6 @@ initializeFunctionInfo(const std::vector
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.
More information about the llvm-commits
mailing list