[PATCH] D20174: [InstCombine] Allow removal of PHI cycles which only contain PHIs
silviu.baranga@arm.com via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 04:24:30 PDT 2016
sbaranga updated this revision to Diff 57335.
sbaranga added a comment.
Only test incoming values if they dominate PN.
Note that all incoming values need to be PHIs in order for us to do this test,
so there's no need to test for non-instructions (since PHIs are instructions).
http://reviews.llvm.org/D20174
Files:
lib/Transforms/InstCombine/InstCombinePHI.cpp
test/Transforms/InstCombine/phi-cycle.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20174.57335.patch
Type: text/x-patch
Size: 3152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160516/e2b8a136/attachment.bin>
More information about the llvm-commits
mailing list