[PATCH] D26726: [SimplifyCFG] Fix for non-determinism in codegen
Mandeep Singh Grang via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 18:17:45 PST 2016
mgrang created this revision.
mgrang added reviewers: chenli, majnemer.
mgrang added a subscriber: llvm-commits.
mgrang set the repository for this revision to rL LLVM.
This patch fixes issues in codegen uncovered due to https://reviews.llvm.org/D26718
Repository:
rL LLVM
https://reviews.llvm.org/D26726
Files:
lib/Transforms/Utils/SimplifyCFG.cpp
Index: lib/Transforms/Utils/SimplifyCFG.cpp
===================================================================
--- lib/Transforms/Utils/SimplifyCFG.cpp
+++ lib/Transforms/Utils/SimplifyCFG.cpp
@@ -3682,7 +3682,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.78120.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161116/a6879f56/attachment.bin>
More information about the llvm-commits
mailing list