[PATCH] D29747: PredicateInfo: Support switch statements

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 12:08:24 PST 2017


dberlin updated this revision to Diff 89261.
dberlin marked 2 inline comments as done.
dberlin added a comment.

- Update for review comments

Note: This adds two pair conversion function for BasicBlockEdge in
dominators to make life easier.  We can't just use basicblockedge
ourselves, because we need non-const basic blocks in a few places.


https://reviews.llvm.org/D29747

Files:
  include/llvm/IR/Dominators.h
  include/llvm/Transforms/Utils/PredicateInfo.h
  lib/Transforms/Scalar/NewGVN.cpp
  lib/Transforms/Utils/PredicateInfo.cpp
  test/Transforms/NewGVN/condprop.ll
  test/Transforms/NewGVN/edge.ll
  test/Transforms/Util/PredicateInfo/condprop.ll
  test/Transforms/Util/PredicateInfo/edge.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29747.89261.patch
Type: text/x-patch
Size: 27819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170221/595648ad/attachment.bin>


More information about the llvm-commits mailing list