[llvm-dev] DW_OP_implicit_pointer design/implementation in general

Jeremy Morse via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 13 11:58:12 PST 2020


Hi,

David wrote:
> Are you referring to the possibility of implicit values to refer to other variables? I'm sort of interested in maybe not doing that - and only implementing a more general form (what's been talked about with the LLVM_implicit_value (or was it LLVM_explicit_value? I forget)) - and synthesizing artificial variables in the backend rather than trying to track which variable a pointer points to. I think this would keep the impact on optimizations smaller & would be more general.

Adrian wrote:
> If it were possible to synthesize it in AsmPrinter, would that remove the motivation for the new intrinsic for you?

Ah, yeah, those changes would avoid any need for a new intrinsic to my
mind, and sounds much more palatable. Thanks for explaining.

--
Thanks,
Jeremy


More information about the llvm-dev mailing list