From ab8ada34c0dcb2381bfd6858461479fffb0c7992 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 17 Dec 2012 15:14:53 +0000 Subject: [PATCH] R600: remove nonsense setPrefLoopAlignment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- lib/Target/R600/AMDILISelLowering.cpp | 1 - 1 file changed, 1 deletion(-) 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);