From 12dcc180caf1f1e416456277f2dcb92fbe260c3d Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Thu, 27 Aug 2026 16:09:44 +0800 Subject: [GlobalISel] Select each instruction once --- backend/lib/CodeGen/GlobalISel/InstructionSelect.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'backend/lib/CodeGen/GlobalISel') diff --git a/backend/lib/CodeGen/GlobalISel/InstructionSelect.cpp b/backend/lib/CodeGen/GlobalISel/InstructionSelect.cpp index 6aab43d..88bc78e 100644 --- a/backend/lib/CodeGen/GlobalISel/InstructionSelect.cpp +++ b/backend/lib/CodeGen/GlobalISel/InstructionSelect.cpp @@ -277,9 +277,6 @@ Expected InstructionSelect::runImplementation(MachineFunction CurrentDescriptor->Name + "'", ErrorCode::InternalError)); } - auto Match = Info->canSelect(*Instruction, Function, Target); - if (!Match) - return std::unexpected(Match.error()); std::string Rule = "select."; Rule.append(CurrentDescriptor->Name); auto Accepted = Analyses.requestAction(Rule, Function, Instruction->stableID()); -- cgit v1.2.3