[llvm] [ARM] Enable promoteToConstantPool if only one use. (PR #125065)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 09:30:47 PST 2025


efriedma-quic wrote:

I don't think this is safe: we can't tell if a global actually has one use in the final machine code by examining the IR.  Passes after isel can clone code.

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


More information about the llvm-commits mailing list