[PATCH] D31919: NewGVN: Don't propagate over phi backedges where undef causes us to have >1 value.
Daniel Berlin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 10 18:01:44 PDT 2017
dberlin created this revision.
Herald added a subscriber: Prazek.
Fixes PR 32607 by only ignoring undef when we can prove the phi is cycle-free
https://reviews.llvm.org/D31919
Files:
lib/Transforms/Scalar/NewGVN.cpp
test/Transforms/NewGVN/basic-cyclic-opt.ll
test/Transforms/NewGVN/pr31682.ll
test/Transforms/NewGVN/pr32607.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31919.94768.patch
Type: text/x-patch
Size: 8875 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170411/9c85f0a7/attachment.bin>
More information about the llvm-commits
mailing list