aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-12-17 15:14:53 +0000
committerTom Stellard <thomas.stellard@amd.com>2012-12-17 15:14:53 +0000
commitab8ada34c0dcb2381bfd6858461479fffb0c7992 (patch)
treec322603d3b92ffc779409d8087779c2f2434a0c4
parent99a54942ae0fb6fdca03e91b2e492e9738fa4436 (diff)
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 <thomas.stellard@amd.com> Tested-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Christian König <deathsimple@vodafone.de> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170341 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/R600/AMDILISelLowering.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/R600/AMDILISelLowering.cpp b/lib/Target/R600/AMDILISelLowering.cpp
index 6a5d8416dc..8bfd30c6e3 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);