[clang] [clang][CodeGen] Emit improved memory effects and return status for AsmStmt (PR #110510)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 30 15:06:11 PDT 2024


efriedma-quic wrote:

The gcc documentation isn't really written like a reference... it's hard to tell what exactly it does and does not guarantee.  And we generally want clang to reduce its reliance on gcc documentation to define its own behavior.  Particularly for edges that gcc documentation doesn't describe particularly well. (For example, if you have a memory clobber, is "volatile" redundant?)

This documentation generally lives in clang/docs/LanguageExtensions.rst .

> Do you mean as opposed to marking them ModRef?

Yes.

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


More information about the cfe-commits mailing list