summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2014-01-29 16:01:24 +0000
committerOliver Stannard <oliver.stannard@arm.com>2014-01-29 16:01:24 +0000
commitff500303705159a86b182f0794c830376ed7c127 (patch)
treed4b85894e2d59cdec9b5af052db16809edcad6db
parent72d4223ff57f6d03d7802e100cc38634c14c70dc (diff)
downloadllvm-ff500303705159a86b182f0794c830376ed7c127.tar.gz
llvm-ff500303705159a86b182f0794c830376ed7c127.tar.bz2
llvm-ff500303705159a86b182f0794c830376ed7c127.tar.xz
Test commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200401 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.cpp b/lib/Target/ARM/ARMBaseInstrInfo.cpp
index 030f09965c..a244c5fb8a 100644
--- a/lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/lib/Target/ARM/ARMBaseInstrInfo.cpp
@@ -1243,6 +1243,7 @@ static unsigned duplicateCPV(MachineFunction &MF, unsigned &CPI) {
unsigned PCLabelId = AFI->createPICLabelUId();
ARMConstantPoolValue *NewCPV = 0;
+
// FIXME: The below assumes PIC relocation model and that the function
// is Thumb mode (t1 or t2). PCAdjustment would be 8 for ARM mode PIC, and
// zero for non-PIC in ARM or Thumb. The callers are all of thumb LDR