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