[PATCH] D26726: [SimplifyCFG] Fix for non-determinism in codegen

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 12:33:44 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL301222: [SimplifyCFG] Fix for non-determinism in codegen (authored by mgrang).

Changed prior to commit:
  https://reviews.llvm.org/D26726?vs=78120&id=96445#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D26726

Files:
  llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp


Index: llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
+++ llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -3754,7 +3754,7 @@
     if (!isa<DbgInfoIntrinsic>(I))
       return false;
 
-  SmallSet<BasicBlock *, 4> TrivialUnwindBlocks;
+  SmallSetVector<BasicBlock *, 4> TrivialUnwindBlocks;
   auto *PhiLPInst = cast<PHINode>(RI->getValue());
 
   // Check incoming blocks to see if any of them are trivial.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26726.96445.patch
Type: text/x-patch
Size: 531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170424/2f4fd781/attachment.bin>


More information about the llvm-commits mailing list