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.

llvm-svn: 83916
This commit is contained in:
Bob Wilson 2009-10-12 22:49:05 +00:00
parent 29f78ac638
commit 3259a4106f

View File

@ -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();