diff options
author | Oliver Stannard <oliver.stannard@arm.com> | 2014-01-29 16:01:24 +0000 |
---|---|---|
committer | Oliver Stannard <oliver.stannard@arm.com> | 2014-01-29 16:01:24 +0000 |
commit | 8f85994acafa61bfce269bf5a40f2123c6d9dfd8 (patch) | |
tree | 34e4759cc8a6f3fb3e810e6ddb2b588948f337db /llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | |
parent | ec079d9e1d5bdc5372065b51dcb202c7d6bf682c (diff) | |
download | bcm5719-llvm-8f85994acafa61bfce269bf5a40f2123c6d9dfd8.tar.gz bcm5719-llvm-8f85994acafa61bfce269bf5a40f2123c6d9dfd8.zip |
Test commit
llvm-svn: 200401
Diffstat (limited to 'llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp index 030f09965cb..a244c5fb8a3 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 |