[PATCH] D32596: [InstCombine] Transform fmul X, +2.0 --> fadd X, X.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 17:59:31 PDT 2017


efriedma added a comment.

Another data-point: reassociate currently prefers to canonicalize "fadd %x, %x", to "fmul %x, 2".  We don't want to fight back and forth in IR.


https://reviews.llvm.org/D32596





More information about the llvm-commits mailing list