[PATCH] D38242: [CGP] In optimizeMemoryInst handle select similarly to phi

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 26 15:31:01 PDT 2017


john.brawn marked an inline comment as done.
john.brawn added a comment.

In https://reviews.llvm.org/D38242#880428, @davide wrote:

> shouldn't GVN handle this case?


It's quite possible that we never actually see this kind of input, but this patch is just part of https://reviews.llvm.org/D38133 that's been split out to simplify things.


https://reviews.llvm.org/D38242





More information about the llvm-commits mailing list