From 8f85994acafa61bfce269bf5a40f2123c6d9dfd8 Mon Sep 17 00:00:00 2001 From: Oliver Stannard Date: Wed, 29 Jan 2014 16:01:24 +0000 Subject: [PATCH] Test commit llvm-svn: 200401 --- llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp index 030f09965cbc..a244c5fb8a3b 100644 --- a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp +++ b/llvm/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