diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-27 16:09:44 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-27 16:09:44 +0800 |
| commit | 12dcc180caf1f1e416456277f2dcb92fbe260c3d (patch) | |
| tree | da8322bb19deb2f95ae95a6f2365f26c476f301a /backend/lib/CodeGen/GlobalISel/InstructionSelect.cpp | |
| parent | 5fd19fbe147eaff6e65e7dc3b63b324d80f19a05 (diff) | |
| download | rcc-project-12dcc180caf1f1e416456277f2dcb92fbe260c3d.tar.gz rcc-project-12dcc180caf1f1e416456277f2dcb92fbe260c3d.tar.xz | |
[GlobalISel] Select each instruction once
Diffstat (limited to 'backend/lib/CodeGen/GlobalISel/InstructionSelect.cpp')
| -rw-r--r-- | backend/lib/CodeGen/GlobalISel/InstructionSelect.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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<MachinePassResult> 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()); |
