[llvm] Split vgpr regalloc pipeline (PR #93526)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 13 12:31:01 PDT 2024
================
@@ -10,22 +10,25 @@
#define LLVM_CODEGEN_REGALLOCCOMMON_H
#include <functional>
+#include <llvm/CodeGen/Register.h>
namespace llvm {
class TargetRegisterClass;
class TargetRegisterInfo;
+class MachineRegisterInfo;
typedef std::function<bool(const TargetRegisterInfo &TRI,
- const TargetRegisterClass &RC)> RegClassFilterFunc;
+ const MachineRegisterInfo &MRI, const Register Reg)>
+ RegClassFilterFunc;
----------------
arsenm wrote:
Rename this to RegAllocFilterFunc?
https://github.com/llvm/llvm-project/pull/93526
More information about the llvm-commits
mailing list