[PATCH] D32400: [JumpThread] We want to fold (not thread) when all predecessor go to single BB's successor.
Xin Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 23 09:28:50 PDT 2017
trentxintong created this revision.
In case all predecessor go to a single successor of current BB. We want to fold (not thread).
I failed to update the phi nodes properly in the last patch https://reviews.llvm.org/rL300657.
Phi nodes are per predecessor in LLVM.
https://reviews.llvm.org/D32400
Files:
lib/Transforms/Scalar/JumpThreading.cpp
test/Transforms/JumpThreading/fold-not-thread.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32400.96310.patch
Type: text/x-patch
Size: 4869 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170423/17d00114/attachment.bin>
More information about the llvm-commits
mailing list