[llvm-branch-commits] [llvm] b857330 - Revert "Remove unnecessary static_cast<bool> in AsmPrinter.cpp."
Aiden Grossman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Oct 22 01:23:34 PDT 2025
Author: Aiden Grossman
Date: 2025-10-22T00:11:25Z
New Revision: b85733094c65d2c69ade3936f008c68787197d5b
URL: https://github.com/llvm/llvm-project/commit/b85733094c65d2c69ade3936f008c68787197d5b
DIFF: https://github.com/llvm/llvm-project/commit/b85733094c65d2c69ade3936f008c68787197d5b.diff
LOG: Revert "Remove unnecessary static_cast<bool> in AsmPrinter.cpp."
This reverts commit 0e8ee0ec78dc370a1bf2688411cf2db36c3a4cd0.
This breaks Windows premerge.
https://lab.llvm.org/staging/#/builders/21/builds/6831
Added:
Modified:
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index a114406b32fb6..e2af0c5925248 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -1438,7 +1438,7 @@ getBBAddrMapFeature(const MachineFunction &MF, int NumMBBSectionRanges,
BBFreqEnabled,
BrProbEnabled,
MF.hasBBSections() && NumMBBSectionRanges > 1,
- BBAddrMapSkipEmitBBEntries,
+ static_cast<bool>(BBAddrMapSkipEmitBBEntries),
HasCalls,
false};
}
More information about the llvm-branch-commits
mailing list