[PATCH] D62126: [CorrelatedValuePropagation] Fix prof branch_weights metadata handling for SwitchInst
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 14:17:32 PDT 2019
nikic added a comment.
My guess would be that this is due to the assumption of valid branch_weights inside https://github.com/llvm-mirror/llvm/blob/2015c9266833ebae0e42a641252b2b120ef0f77a/lib/IR/Instructions.cpp#L3908, which is not a guarantee we have at this point.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62126/new/
https://reviews.llvm.org/D62126
More information about the llvm-commits
mailing list