[llvm] [licm] clone metadata when hoisting conditional branch (PR #152232)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 9 09:15:21 PDT 2025


================
@@ -218,6 +218,8 @@ using PointersAndHasReadsOutsideSet =
 static SmallVector<PointersAndHasReadsOutsideSet, 0>
 collectPromotionCandidates(MemorySSA *MSSA, AliasAnalysis *AA, Loop *L);
 
+extern cl::opt<bool> ProfcheckDisableMetadataFixes;
----------------
nikic wrote:

This needs to be in the header, with LLVM_ABI. Otherwise this will break the dylib build on Windows.

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


More information about the llvm-commits mailing list