[llvm] Split vgpr regalloc pipeline (PR #93526)
Christudasan Devadasan via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 13 22:20:59 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;
----------------
cdevadas wrote:
It is already fixed in the original PR https://github.com/llvm/llvm-project/pull/93525. I will rebase it.
https://github.com/llvm/llvm-project/pull/93526
More information about the llvm-commits
mailing list