[llvm] [GlobalISel] Allow customizing instruction-select pass (PR #95724)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 17 02:13:13 PDT 2024
================
@@ -49,8 +49,8 @@ class InstructionSelect : public MachineFunctionPass {
MachineFunctionProperties::Property::Selected);
}
- InstructionSelect(CodeGenOptLevel OL);
- InstructionSelect();
+ InstructionSelect(CodeGenOptLevel OL = CodeGenOptLevel::Default,
+ char &PassID = ID);
----------------
arsenm wrote:
Do you have a follow up / example of how you would use this to specify the dependencies? I don't this is enough to make InstructionSelect usable from subclasses
https://github.com/llvm/llvm-project/pull/95724
More information about the llvm-commits
mailing list