[all-commits] [llvm/llvm-project] c3dfbb: [AArch64][GlobalISel] Add commute_constant_to_rhs ...
David Green via All-commits
all-commits at lists.llvm.org
Sun Feb 11 03:20:25 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c3dfbb6f49845edd4b953055f5fe14257fad6b58
https://github.com/llvm/llvm-project/commit/c3dfbb6f49845edd4b953055f5fe14257fad6b58
Author: David Green <david.green at arm.com>
Date: 2024-02-11 (Sun, 11 Feb 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Combine.td
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic.ll
M llvm/test/CodeGen/AArch64/vecreduce-fadd-strict.ll
M llvm/test/CodeGen/AArch64/vecreduce-fmul-strict.ll
Log Message:
-----------
[AArch64][GlobalISel] Add commute_constant_to_rhs to post legalizer combiners (#81103)
This helps the fp reductions, moving the constant operands to the RHS
which in turn helps simplify away fadd -0.0 and fmul 1.0.
More information about the All-commits
mailing list