[all-commits] [llvm/llvm-project] c52255: [AArch64] Reassociate sub(x, add(m1, m2)) to sub(s...
David Green via All-commits
all-commits at lists.llvm.org
Fri Feb 10 10:09:25 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c52255d26a23df6ecf09f60ca3e3615467f16bbe
https://github.com/llvm/llvm-project/commit/c52255d26a23df6ecf09f60ca3e3615467f16bbe
Author: David Green <david.green at arm.com>
Date: 2023-02-10 (Fri, 10 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