[PATCH] D47441: SafepointIRVerifier should ignore dead blocks and dead edges

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 8 22:00:33 PDT 2018


yrouban updated this revision to Diff 150605.
yrouban added a comment.

Addressed Anna's comments:

1. changed INITIALIZE_PASS CFGDeadness CFG flag to false.
2. The new method CFGDeadness::hasLiveIncomingEdge(Phi, Block) replaces CFGDeadness::getIncomingEdge(Phi, Block) that could not work with phi containing duplicate pairs of (value,block).


https://reviews.llvm.org/D47441

Files:
  include/llvm/IR/CFGDeadness.h
  include/llvm/InitializePasses.h
  lib/IR/CFGDeadness.cpp
  lib/IR/CMakeLists.txt
  lib/IR/SafepointIRVerifier.cpp
  test/SafepointIRVerifier/dead-block-tolerant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47441.150605.patch
Type: text/x-patch
Size: 25305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180609/32ace13d/attachment.bin>


More information about the llvm-commits mailing list