forked from OSchip/llvm-project
[SimplifyCFG] Fix for non-determinism in codegen
Summary: This patch fixes issues in codegen uncovered due to https://reviews.llvm.org/D26718 Reviewers: majnemer, chenli, davide Reviewed By: davide Subscribers: davide, arsenm, llvm-commits Differential Revision: https://reviews.llvm.org/D26726 llvm-svn: 301222
This commit is contained in:
parent
44e25f37ae
commit
799a2edb3d
|
@ -3754,7 +3754,7 @@ bool SimplifyCFGOpt::SimplifyCommonResume(ResumeInst *RI) {
|
|||
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.
|
||||
|
|
Loading…
Reference in New Issue