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

Arthur Eubanks via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 5 11:28:30 PST 2025


================
@@ -3117,11 +3120,20 @@ def PragmaClangTextSection : InheritableAttr {
   let Documentation = [InternalOnly];
 }
 
-def CodeModel : InheritableAttr, TargetSpecificAttr<TargetLoongArch> {
+// The code model attribute only applies to LoongArch and x86-64, but for NVPTX
----------------
aeubanks wrote:

updated AttrDocs.td.

updated description, hopefully that makes sense and the previous discussion makes sense

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


More information about the cfe-commits mailing list