[PATCH] D64061: Force check prof branch_weights consistency in SwitchInstProfUpdateWrapper

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 00:19:04 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL368129: Force check prof branch_weights consistency in SwitchInstProfUpdateWrapper (authored by yrouban, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D64061?vs=208111&id=213805#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64061/new/

https://reviews.llvm.org/D64061

Files:
  llvm/trunk/lib/IR/Instructions.cpp


Index: llvm/trunk/lib/IR/Instructions.cpp
===================================================================
--- llvm/trunk/lib/IR/Instructions.cpp
+++ llvm/trunk/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.213805.patch
Type: text/x-patch
Size: 584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190807/ece4247c/attachment.bin>


More information about the llvm-commits mailing list