[all-commits] [llvm/llvm-project] e9eaee: [AArch64] Reassociate sub(x, add(m1, m2)) to sub(s...
David Green via All-commits
all-commits at lists.llvm.org
Mon Feb 13 06:35:25 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e9eaee9da196265d20dbeaf7920c24ccb33e2d04
https://github.com/llvm/llvm-project/commit/e9eaee9da196265d20dbeaf7920c24ccb33e2d04
Author: David Green <david.green at arm.com>
Date: 2023-02-13 (Mon, 13 Feb 2023)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/arm64-vmul.ll
M llvm/test/CodeGen/AArch64/reassocmls.ll
Log Message:
-----------
[AArch64] Reassociate sub(x, add(m1, m2)) to sub(sub(x, m1), m2)
The mid end will reassociate sub(sub(x, m1), m2) to sub(x, add(m1, m2)). This
reassociates it back to allow the creation of more mls instructions.
Differential Revision: https://reviews.llvm.org/D143143
More information about the All-commits
mailing list