1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

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
This commit is contained in:
Tom Stellard 2012-12-17 15:14:53 +00:00
parent 91d886f61b
commit 6817104534

View File

@ -217,7 +217,6 @@ void AMDGPUTargetLowering::InitAMDILLowering() {
setSchedulingPreference(Sched::RegPressure); setSchedulingPreference(Sched::RegPressure);
setPow2DivIsCheap(false); setPow2DivIsCheap(false);
setPrefLoopAlignment(16);
setSelectIsExpensive(true); setSelectIsExpensive(true);
setJumpIsExpensive(true); setJumpIsExpensive(true);