[PATCH] D64061: Force check prof branch_weights consistency in SwitchInstProfUpdateWrapper
Yevgeny Rouban via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 4 21:14:06 PDT 2019
yrouban updated this revision to Diff 208111.
yrouban edited the summary of this revision.
yrouban added a comment.
extracted the preparation patch to the separate patch D64233 <https://reviews.llvm.org/D64233>.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64061/new/
https://reviews.llvm.org/D64061
Files:
llvm/lib/IR/Instructions.cpp
Index: llvm/lib/IR/Instructions.cpp
===================================================================
--- llvm/lib/IR/Instructions.cpp
+++ llvm/lib/IR/Instructions.cpp
@@ -49,7 +49,7 @@
"switch-inst-prof-update-wrapper-strict", cl::Hidden,
cl::desc("Assert that prof branch_weights metadata is valid when creating "
"an instance of SwitchInstProfUpdateWrapper"),
- cl::init(false));
+ cl::init(true));
//===----------------------------------------------------------------------===//
// AllocaInst Class
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64061.208111.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190705/1819780f/attachment.bin>
More information about the llvm-commits
mailing list