[llvm] GlobalISel: Stop using TPC to check if GlobalISelAbort is enabled (PR #169917)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 08:57:15 PST 2025


================
@@ -250,30 +248,34 @@ static void reportGISelDiagnostic(DiagnosticSeverity Severity,
     MORE.emit(R);
 }
 
-void llvm::reportGISelWarning(MachineFunction &MF, const TargetPassConfig &TPC,
+bool llvm::isGlobalISelAbortEnabled(MachineFunction &MF) {
----------------
arsenm wrote:

Probably should just get rid of this wrapper function TargetOptions 

https://github.com/llvm/llvm-project/pull/169917


More information about the llvm-commits mailing list