From bfef309d11f186f459e64d99767f07d70da5fb4c Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Wed, 15 Dec 2010 23:52:36 +0000 Subject: Thumb1 had two patterns for the same load-from-constant-pool instruction. Canonicalize on tLDRpci and remove tLDRcp. llvm-svn: 121920 --- llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/Target/ARM/ARMConstantIslandPass.cpp') 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; -- cgit v1.2.3