[LLVMdev] recognizing DTORs and vptr updates in LLVM.

Chandler Carruth chandlerc at google.com
Mon Mar 19 16:52:19 PDT 2012


On Mon, Mar 19, 2012 at 4:46 PM, Eli Friedman <eli.friedman at gmail.com>wrote:

> Given that, I'm not sure I really see the issue with just
> special-casing any store where the value stored is a pointer to a
> global... but it could be argued either way, I guess.
>

I users expect this to "just work", why not extend the language and make it
just work?

We could, as an implementation, decide to emit these as relaxed atomic
stores, making the code well defined without changing the semantics (or
optimization) in any meaningful way, right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120319/b0bc391b/attachment.html>


More information about the llvm-dev mailing list