[llvm] [CodeGen] Migrate report_fatal_error from CodeGen headers (PR #203656)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 13 00:20:55 PDT 2026
================
@@ -53,7 +53,7 @@ template <typename PassT> class MFPropsModifier {
errs() << "\nCurrent properties: ";
MFProps.print(errs());
errs() << '\n';
- report_fatal_error("MachineFunctionProperties check failed");
+ reportFatalInternalError("MachineFunctionProperties check failed");
----------------
arsenm wrote:
This is a tested path and should be reportFatalUsageError, and can be encountered when using run-pass on mir
https://github.com/llvm/llvm-project/pull/203656
More information about the llvm-commits
mailing list