From: Tom Stellard Date: Mon, 17 Dec 2012 15:14:53 +0000 (+0000) Subject: R600: remove nonsense setPrefLoopAlignment X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ab8ada34c0dcb2381bfd6858461479fffb0c7992;p=oota-llvm.git R600: remove nonsense setPrefLoopAlignment 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 Tested-by: Michel Dänzer Signed-off-by: Christian König git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170341 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/R600/AMDILISelLowering.cpp b/lib/Target/R600/AMDILISelLowering.cpp index 6a5d8416dca..8bfd30c6e3e 100644 --- a/lib/Target/R600/AMDILISelLowering.cpp +++ b/lib/Target/R600/AMDILISelLowering.cpp @@ -217,7 +217,6 @@ void AMDGPUTargetLowering::InitAMDILLowering() { setSchedulingPreference(Sched::RegPressure); setPow2DivIsCheap(false); - setPrefLoopAlignment(16); setSelectIsExpensive(true); setJumpIsExpensive(true);