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

Arthur Eubanks via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 5 13:15:07 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".
----------------
aeubanks wrote:

I've added some description at least on the x86-64 side of things

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


More information about the cfe-commits mailing list