Adds patterns for:
add(a, select(mask, mul(b, c), splat(0))) -> mla(a, mask, b, c) sub(a, select(mask, mul(b, c), splat(0))) -> mls(a, mask, b, c)
Paths
| Differential D130492
[AArch64][SVE] Add patterns to select mla/mls ClosedPublic Authored by c-rhodes on Jul 25 2022, 8:31 AM.
Details Summary Adds patterns for: add(a, select(mask, mul(b, c), splat(0))) -> mla(a, mask, b, c) sub(a, select(mask, mul(b, c), splat(0))) -> mls(a, mask, b, c)
Diff Detail Event Timeline
c-rhodes marked an inline comment as done. Comment ActionsAArch64ml[as]_p -> AArch64ml[as]_m1 This revision is now accepted and ready to land.Jul 25 2022, 4:02 PM This revision was landed with ongoing or failed builds.Jul 26 2022, 1:15 AM Closed by commit rG6082051da158: [AArch64][SVE] Add patterns to select mla/mls (authored by c-rhodes). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 447403 llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve-masked-int-arith.ll
|
AArch64mla_p -> AArch64mla_m1
AArch64mls_p -> AArch64mls_m1