[clang] [clang][X86] Support __attribute__((model("small"/"large"))) (PR #124834)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 5 11:30:58 PST 2025


================
@@ -62,6 +62,10 @@ def CodeModelDocs : Documentation {
   let Content = [{
 The ``model`` attribute allows overriding the translation unit's
 code model (specified by ``-mcmodel``) for a specific global variable.
+
+On LoongArch, allowed values are "normal", "medium", "extreme".
----------------
erichkeane wrote:

I suspect aaron would like to see more details on this, including what each of those things mean.

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


More information about the cfe-commits mailing list