Skip to content

Commit

Permalink
Address xen0n's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
heiher committed Jan 21, 2024
1 parent 71dde1d commit fc7d5b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions clang/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1156,8 +1156,9 @@ Windows Support

LoongArch Support
^^^^^^^^^^^^^^^^^
- Added a code model attribute for the global variable. The following values
are supported: ``normal``, ``medium`` and ``extreme``.
- The ``model`` attribute is now supported for overriding the default code
model used to access global variables. The following values are supported:
``normal``, ``medium`` and ``extreme``.

*Example Code*:

Expand Down
6 changes: 3 additions & 3 deletions llvm/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Changes to the LLVM IR

* Added `llvm.exp10` intrinsic.

* Added a code model attribute for the `global variable <LangRef.html#global-variables>`_.
* Added a ``code_model`` attribute for the `global variable <LangRef.html#global-variables>`_.

Changes to LLVM infrastructure
------------------------------
Expand Down Expand Up @@ -132,8 +132,8 @@ Changes to the Hexagon Backend

Changes to the LoongArch Backend
--------------------------------
* Respect the code model attribute of global variables when different from
their default values.
* The code model of global variables can now be overridden by means of
the newly added LLVM IR attribute, ``code_model``.

Changes to the MIPS Backend
---------------------------
Expand Down

0 comments on commit fc7d5b4

Please sign in to comment.