[llvm] [AMDGPU][PromoteAlloca] Whole-function alloca promotion to vector (PR #84735)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 02:30:12 PDT 2024


================
@@ -64,10 +66,21 @@ static cl::opt<unsigned> PromoteAllocaToVectorLimit(
     cl::desc("Maximum byte size to consider promote alloca to vector"),
     cl::init(0));
 
+static cl::opt<bool> PromoteAllocaWholeFn(
+    "promote-alloca-vector-whole-function",
----------------
arsenm wrote:

I don't think this should be an option. It should simply be the behavior. There was nothing desirable about the random ordering behavior as before 

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


More information about the llvm-commits mailing list