Author: Rahman Lavaee
Date: 2025-10-21T17:42:12-07:00
New Revision: d55b10a4b960abdfc4a05385e254cd33d8896a21

URL: 
https://github.com/llvm/llvm-project/commit/d55b10a4b960abdfc4a05385e254cd33d8896a21
DIFF: 
https://github.com/llvm/llvm-project/commit/d55b10a4b960abdfc4a05385e254cd33d8896a21.diff

LOG: Add comment about static_cast requirement.

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 e2af0c5925248..fefde64fd1806 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -1438,6 +1438,7 @@ getBBAddrMapFeature(const MachineFunction &MF, int 
NumMBBSectionRanges,
           BBFreqEnabled,
           BrProbEnabled,
           MF.hasBBSections() && NumMBBSectionRanges > 1,
+          // Use static_cast to avoid breakage of tests on windows.
           static_cast<bool>(BBAddrMapSkipEmitBBEntries),
           HasCalls,
           false};


        
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to