R600: remove nonsense setPrefLoopAlignment
authorTom Stellard <thomas.stellard@amd.com>
Mon, 17 Dec 2012 15:14:53 +0000 (15:14 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 17 Dec 2012 15:14:53 +0000 (15:14 +0000)
The Align parameter is a power of two, so 16 results in 64K
alignment. Additional to that even 16 byte alignment doesn't
make any sense, so just remove it.

Patch by: Christian König

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Christian König <deathsimple@vodafone.de>
llvm-svn: 170341

llvm/lib/Target/R600/AMDILISelLowering.cpp

index 6a5d841..8bfd30c 100644 (file)
@@ -217,7 +217,6 @@ void AMDGPUTargetLowering::InitAMDILLowering() {
 
   setSchedulingPreference(Sched::RegPressure);
   setPow2DivIsCheap(false);
-  setPrefLoopAlignment(16);
   setSelectIsExpensive(true);
   setJumpIsExpensive(true);