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
							
								
									3f0b9b3db4
								
							
						
					
					
						commit
						5b07a903d4
					
				| 
						 | 
				
			
			@ -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…
	
		Reference in New Issue