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

Petar Avramovic via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 10:08:58 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) {
----------------
petar-avramovic wrote:

Not sure if I understood this one, TargetOptions instead of MF?

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


More information about the llvm-commits mailing list