mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-22 05:21:13 +00:00
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:
parent
29f78ac638
commit
3259a4106f
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user