[PATCH] D24805: [GVNSink] Initial GVNSink prototype

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 21 13:43:44 PDT 2016


MatzeB added a subscriber: MatzeB.
MatzeB added a comment.

Without looking at anything in the patch. For the example given, wouldn't it be enough to create some DAGCombine style rules:

x = PHI(OP(y, c), OP(z, c))
 =>
 x = op(PHI(z, z), c)

?


Repository:
  rL LLVM

https://reviews.llvm.org/D24805





More information about the llvm-commits mailing list