<div dir="ltr">perhaps you could use non-static data member in class initializers to simplify this code? (ie: just initializer the members where they are declared)</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 9, 2016 at 5:10 PM, Tom Stellard via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: tstellar<br>
Date: Tue Feb  9 19:10:09 2016<br>
New Revision: 260342<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=260342&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=260342&view=rev</a><br>
Log:<br>
StructurizeCFG: Initialize SkipUniformRegions in the default constructor<br>
<br>
This should fix some random bot failures caused by r260336.<br>
<br>
Modified:<br>
    llvm/trunk/lib/Transforms/Scalar/StructurizeCFG.cpp<br>
<br>
Modified: llvm/trunk/lib/Transforms/Scalar/StructurizeCFG.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/StructurizeCFG.cpp?rev=260342&r1=260341&r2=260342&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/StructurizeCFG.cpp?rev=260342&r1=260341&r2=260342&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Transforms/Scalar/StructurizeCFG.cpp (original)<br>
+++ llvm/trunk/lib/Transforms/Scalar/StructurizeCFG.cpp Tue Feb  9 19:10:09 2016<br>
@@ -242,7 +242,7 @@ public:<br>
   static char ID;<br>
<br>
   StructurizeCFG() :<br>
-    RegionPass(ID) {<br>
+    RegionPass(ID), SkipUniformRegions(false) {<br>
     initializeStructurizeCFGPass(*PassRegistry::getPassRegistry());<br>
   }<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>