[llvm] [AArch64] Share materialized constant between add x, k and sub x,k (PR #225430)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 08:49:01 PDT 2026


================

----------------
paulwalker-arm wrote:

How is the cache maintained? For example, it looks possible for visitADDSUB to erase a MOVI instruction that foldSharedAddSubConstant has just added to the cache.

https://github.com/llvm/llvm-project/pull/225430


More information about the llvm-commits mailing list