aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h')
-rw-r--r--backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h b/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h
index f45b24d..70771bb 100644
--- a/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h
+++ b/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h
@@ -19,12 +19,6 @@ public:
[[nodiscard]] virtual Expected<void> select(MachineInstr &Instruction, MachineFunction &Function,
const TargetDescription &Target) const = 0;
- // Selection matching is read-only and completes before select() mutates MachineIR.
- [[nodiscard]] virtual Expected<void> canSelect(const MachineInstr &, const MachineFunction &,
- const TargetDescription &) const {
- return {};
- }
-
[[nodiscard]] virtual Expected<void>
constrainSelectedInstruction(MachineInstr &, MachineFunction &, const TargetDescription &) const {
return {};