[llvm] CodeGen: Fix CGPassBuilderOption::EnableGlobalISelOption for -global-isel=0 (PR #201871)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 09:18:59 PDT 2026
================
@@ -505,7 +505,8 @@ CGPassBuilderOption llvm::getCGPassBuilderOption() {
SET_OPTION(EnableFastISelOption)
SET_OPTION(EnableGlobalISelAbort)
- SET_OPTION(EnableGlobalISelOption)
+ if (EnableGlobalISelOption.getNumOccurrences())
----------------
arsenm wrote:
I don't understand why this option is special compared to all of the others
https://github.com/llvm/llvm-project/pull/201871
More information about the llvm-commits
mailing list