[llvm] [AMDGPU][Attributor] Remove uniformity check in the indirect call specialization callback (PR #106177)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 06:25:07 PDT 2024


================
@@ -33,6 +32,12 @@ static cl::opt<unsigned> KernargPreloadCount(
     "amdgpu-kernarg-preload-count",
     cl::desc("How many kernel arguments to preload onto SGPRs"), cl::init(0));
 
+static cl::opt<unsigned> IndirectCallSpecializationThreshold(
+    "amdgpu-indrect-call-specialization-threshold",
----------------
arsenm wrote:

Typo in name. Should also prefer adding pass parameters to cl::opts

https://github.com/llvm/llvm-project/pull/106177


More information about the llvm-commits mailing list