[PATCH] D32414: InstructionSimplify: Make InstSimplify give the same answer about thesame select no matter how it is asked.

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 23 22:35:23 PDT 2017


dberlin added a comment.

I also could paper over this a different way if we like, by adding a query option to disable the thread over phi behavior of instsimplify.
NewGVN already can do everything it does for thread over phi, and so all it is doing here is wasting time and wasting  MaxRecursionDepth simplifies in the cycle.


https://reviews.llvm.org/D32414





More information about the llvm-commits mailing list