[llvm] [AArch64] Share materialized constant between add x, k and sub x,k (PR #225430)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 9 22:19:30 PDT 2026
================
----------------
prajapati-git wrote:
Implemented this. A step now runs on every instruction that populates the cache from any MOVi32imm/MOVi64imm (and the widening SUBREG_TO_REG case) it sees, independent of what consumes it. visitADDSUB queries that cache for a negated match before falling back to its existing split logic.
https://github.com/llvm/llvm-project/pull/225430
More information about the llvm-commits
mailing list