[PATCH] D130492: [AArch64][SVE] Add patterns to select mla/mls
Paul Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 25 08:48:25 PDT 2022
paulwalker-arm added inline comments.
================
Comment at: llvm/lib/Target/AArch64/SVEInstrFormats.td:2982
+
+ // e.g. add(a, select(mask, mul(b, b), splat(0))) -> mla(a, mask, b, b)
+ def : Pat<(outerop nxv16i8:$Op1, (vselect nxv16i1:$pred, (mulop (nxv16i1 (AArch64ptrue 31)), nxv16i8:$Op2, nxv16i8:$Op2), (SVEDup0))),
----------------
What's the connection to `b*b`? What breaks if you allow `b*c`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130492/new/
https://reviews.llvm.org/D130492
More information about the llvm-commits
mailing list