From 5b6ba4568cf6916a61ecde702f45246db8154b9f Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Sat, 15 Aug 2026 20:03:59 +0800 Subject: [RISCV][GlobalISel] Legalize floating-point remainder --- backend/lib/CodeGen/MachineVerifier.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backend/lib/CodeGen/MachineVerifier.cpp') diff --git a/backend/lib/CodeGen/MachineVerifier.cpp b/backend/lib/CodeGen/MachineVerifier.cpp index 14ce8ef..68a28db 100644 --- a/backend/lib/CodeGen/MachineVerifier.cpp +++ b/backend/lib/CodeGen/MachineVerifier.cpp @@ -71,6 +71,8 @@ public: : Function(Function), Target(Target), Options(Options) {} [[nodiscard]] Expected run() { + if (Function.properties().has(MachineFunctionProperty::FailedISel)) + return {}; if (!Function.stableID().isValid()) return fail("function identity is invalid"); -- cgit v1.2.3