[llvm] [AMDGPU] Hints for prefering allocating AGPR registers for buffer loads (PR #215697)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 05:39:26 PDT 2026
================
@@ -22,11 +22,17 @@
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/InitializePasses.h"
+#include "llvm/Support/CommandLine.h"
using namespace llvm;
#define DEBUG_TYPE "amdgpu-prepare-agpr-alloc"
+static cl::opt<bool> BufferLoadPreferAGPR(
----------------
arsenm wrote:
No new cl::opts
https://github.com/llvm/llvm-project/pull/215697
More information about the llvm-commits
mailing list