This adds a target combine for fadd(a, vcmla(b, c, d)) -> vcmla(fadd(a, b), b, c), pushing the fadd into the operands of the fcmla, which can help simplify away some additions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | ||
---|---|---|
16483 | Bit of a nit but just checking: do we have test cases where reassocation isn't allowed? |
Comment Actions
We possibly do have a test like that in another file, but I've made sure we have a specific one in reassoc_nonfast_f32x4 at the end of the newly added tests.
Bit of a nit but just checking: do we have test cases where reassocation isn't allowed?