[Mlir-commits] [flang] [mlir] [flang][debug] generate llvm.fake.use for arguments at -g and O0 (PR #187044)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Apr 7 14:03:14 PDT 2026


timsmith78 wrote:

I ran some testing on this today too -- LGTM.  I see the calls to llvm.fake.use being generated.  I still see the variables appear as `<optimized-out>` in a debugger after a function call, but I believe this is expected, as you stated that the back-ends are currently ignoring llvm.fake.use.  Is my understanding correct? 

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


More information about the Mlir-commits mailing list