[llvm] [SROA] Improve select folding around casts (PR #222466)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 13:05:27 PDT 2026


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

----------------
efriedma-quic wrote:

Do we actually need to do this cleanup?  I think most transforms examining uses should ignore a dead addrspacecast until we erase it.

Alternatively, can we RecursivelyDeleteTriviallyDeadInstructions, instead of rolling our own?

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


More information about the llvm-commits mailing list