[PATCH] D20087: AMDGPU: Fix promote alloca pass creating huge arrays
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Wed May 11 08:21:40 PDT 2016
tstellarAMD added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp:163-164
@@ +162,4 @@
+ // on other factors..
+ unsigned OccupancyHint
+ = AMDGPU::getIntegerAttribute(F, "amdgpu-expected-occupancy", 0);
+ if (OccupancyHint == 0)
----------------
We should use the amdgpu-max-waves-per-eu attribute here.
http://reviews.llvm.org/D20087
More information about the llvm-commits
mailing list