[PATCH] D44564: [InstSimplify] Look at the whole PHI graph when simplifying a PHI node
Daniel Berlin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 16 08:26:38 PDT 2018
dberlin added a comment.
What you've implemented (or trying to) is really the SCC algorithm from from "Simple and Efficient
Construction of Static Single Assignment Form" at
http://compilers.cs.uni-saarland.de/papers/bbhlmz13cc.pdf
That will find the values you seek here :)
(you don't have to do the recursive simplification it does)
Repository:
rL LLVM
https://reviews.llvm.org/D44564
More information about the llvm-commits
mailing list