[PATCH] D39830: [DAGCombine] [WIP] Transform (A + -2.0*B*C) -> (A - (B+B)*C)

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 07:50:56 PST 2017


fhahn added a comment.

Thanks for working on this!

You could try to add a test case to `test/CodeGen/AArch64/fadd-combines.ll` for example, i.e. add a new function there with the fadd/fmul pattern you want to match.


https://reviews.llvm.org/D39830





More information about the llvm-commits mailing list