[PATCH] D32596: [DAGCombine] Transform (fadd A, (fmul B, -2.0)) -> (fsub A, (fadd B, B)).

Chad Rosier via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 3 13:24:59 PDT 2017


mcrosier added a comment.

In https://reviews.llvm.org/D32596#745247, @gberry wrote:

> My only comment is that you may be missing additional cases where the fneg could be folded away, but perhaps those can be fixed in a follow up change.


Yes, I'll investigate once this patch lands.


https://reviews.llvm.org/D32596





More information about the llvm-commits mailing list