[PATCH] D29747: PredicateInfo: Support switch statements

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 20:38:26 PST 2017


dberlin created this revision.

Depends on https://reviews.llvm.org/D29606 and https://reviews.llvm.org/D29682

Makes us pass GVN's edge.ll (we also will pass a few other testcases
they just need cleaning up).

Thoughts on the Predicate* hiearchy of classes especially welcome :)
(it's not clear to me how best to organize it, and currently, the getBlock* seems ... uglier than maybe wasting a field somewhere or something).


https://reviews.llvm.org/D29747

Files:
  include/llvm/Transforms/Utils/PredicateInfo.h
  lib/Transforms/Scalar/NewGVN.cpp
  lib/Transforms/Utils/PredicateInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29747.87755.patch
Type: text/x-patch
Size: 17734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170209/7242f757/attachment.bin>


More information about the llvm-commits mailing list