[PATCH] D33840: [DAGCombine] Do not try to deduplicate commutative operations if both operand are the same.

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 12:31:35 PDT 2017


deadalnix added a comment.

OK, benchmarks. Compiling clang from a bc containing clang in its entierety. With the patch:

  real    9m45.457s
  user    9m44.085s
  sys     0m1.384s

Without

  real    9m45.521s
  user    9m44.016s
  sys     0m1.517s

The impact on perfs is not very significant. It's within the noise.


https://reviews.llvm.org/D33840





More information about the llvm-commits mailing list