================
@@ -4058,7 +4068,7 @@ static bool performBranchToCommonDestFolding(BranchInst
*BI, BranchInst *PBI,
// Halve the weights if any of them cannot fit in an uint32_t
fitWeights(NewWeights);
- SmallVector<uint32_t, 8> MDWeights(NewWeights.begin(), NewWeights.end());
+ append_range(MDWeights, NewWeights);
----------------
mtrofin wrote:
I need `MDWeights` in the newly introduced code.
https://github.com/llvm/llvm-project/pull/154426
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits