[llvm] GlobalISel: Stop using TPC to check if GlobalISelAbort is enabled (PR #169917)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 30 09:20:07 PST 2025
================
@@ -511,7 +511,7 @@ class RegBankSelect : public MachineFunctionPass {
Mode OptMode;
/// Current target configuration. Controls how the pass handles errors.
- const TargetPassConfig *TPC;
+ bool GlobalISelAbortNotEnabled;
----------------
arsenm wrote:
Inverted variable name is confusing, can you rename GlobalISelAbortNotEnabled or just pass through the enum?
https://github.com/llvm/llvm-project/pull/169917
More information about the llvm-commits
mailing list