[llvm] [AMDGPU] Limit promoting allocas that have users with dynamic index above a threshold on number of elements (PR #170327)
Carl Ritson via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 3 00:43:51 PST 2025
================
@@ -85,6 +85,12 @@ static cl::opt<unsigned>
"when sorting profitable allocas"),
cl::init(4));
+static cl::opt<unsigned> DynIdxNumElmLimit(
----------------
perlfu wrote:
Variable name should mirror the option name.
Option name should be prefixed with "amdgpu-".
https://github.com/llvm/llvm-project/pull/170327
More information about the llvm-commits
mailing list