[llvm] [GlobalOpt] Do not fold away addrspacecasts which may be runtime operations (PR #153753)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 15 01:49:19 PDT 2025


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

----------------
nikic wrote:

Also please update the test so it shows an actually incorrect transform without your patch. The current test just removes all instructions, which is a legal thing to do.

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


More information about the llvm-commits mailing list