[PATCH] D62656: Make SwitchInstProfUpdateWrapper safer
Yevgeny Rouban via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 31 02:09:37 PDT 2019
yrouban updated this revision to Diff 202393.
yrouban added a comment.
added option //switch-inst-prof-update-wrapper-strict// to assert if prof data is inconsistent. It is off by default.
Probably it makes sense to enable prof branch_weights validation (patch D61179 <https://reviews.llvm.org/D61179>) in the same way.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62656/new/
https://reviews.llvm.org/D62656
Files:
llvm/include/llvm/IR/Instructions.h
llvm/lib/IR/Instructions.cpp
llvm/unittests/IR/InstructionsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62656.202393.patch
Type: text/x-patch
Size: 9419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190531/a734ed88/attachment.bin>
More information about the llvm-commits
mailing list