summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit16a17c6d3e7afb09fd8c106678d775963845c6e2 (patch)
tree1be3fca67ba34f81ee5d6415dfc2ab7aa5835846 /llvm/lib
parentd6aec5a8e046c7f0a127f36a92bcb2fa9bb81801 (diff)
downloadbcm5719-llvm-16a17c6d3e7afb09fd8c106678d775963845c6e2.tar.gz
bcm5719-llvm-16a17c6d3e7afb09fd8c106678d775963845c6e2.zip
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> llvm-svn: 170341
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/R600/AMDILISelLowering.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/AMDILISelLowering.cpp b/llvm/lib/Target/R600/AMDILISelLowering.cpp
index 6a5d8416dca..8bfd30c6e3e 100644
--- a/llvm/lib/Target/R600/AMDILISelLowering.cpp
+++ b/llvm/lib/Target/R600/AMDILISelLowering.cpp
@@ -217,7 +217,6 @@ void AMDGPUTargetLowering::InitAMDILLowering() {
setSchedulingPreference(Sched::RegPressure);
setPow2DivIsCheap(false);
- setPrefLoopAlignment(16);
setSelectIsExpensive(true);
setJumpIsExpensive(true);
OpenPOWER on IntegriCloud