diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-10-12 22:49:05 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-10-12 22:49:05 +0000 |
commit | af4b7352193e4a024d4a4e87cac1ba1589e4de57 (patch) | |
tree | efe9c662357c18737953f0f62ae195f1b61c9469 | |
parent | 9d36962ab66f728291f0921b3b4851a37d303e95 (diff) |
Delete a comment that makes no sense to me. The statement that moving a CPE
before its reference is only supported on ARM has not been true for a while.
In fact, until recently, that was only supported for Thumb. Besides that,
CPEs are always a multiple of 4 bytes in size, so inserting a CPE should have
no effect on Thumb alignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83916 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMConstantIslandPass.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp index 3016565cca..d9d7763eda 100644 --- a/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/lib/Target/ARM/ARMConstantIslandPass.cpp @@ -757,8 +757,7 @@ bool ARMConstantIslands::WaterIsInRange(unsigned UserOffset, BBSizes[Water->getNumber()]; // If the CPE is to be inserted before the instruction, that will raise - // the offset of the instruction. (Currently applies only to ARM, so - // no alignment compensation attempted here.) + // the offset of the instruction. if (CPEOffset < UserOffset) UserOffset += U.CPEMI->getOperand(2).getImm(); |