[llvm] [LangRef] "cc 10" -> "ghccc" (PR #69380)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 13:36:22 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-ir

Author: Arthur Eubanks (aeubanks)

<details>
<summary>Changes</summary>

The change to print this was made in 2014 in 35fc363ce8f04c7a74ce3848ce25d90b1a5bd556 but apparently the LangRef was never updated.


---
Full diff: https://github.com/llvm/llvm-project/pull/69380.diff


1 Files Affected:

- (modified) llvm/docs/LangRef.rst (+1-1) 


``````````diff
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index ee893d8e384b6fd..7b9e3186d664a5f 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -309,7 +309,7 @@ added in the future:
     prototype of all callees to exactly match the prototype of the
     function definition. Furthermore the inliner doesn't consider such function
     calls for inlining.
-"``cc 10``" - GHC convention
+"``ghccc``" - GHC convention
     This calling convention has been implemented specifically for use by
     the `Glasgow Haskell Compiler (GHC) <http://www.haskell.org/ghc>`_.
     It passes everything in registers, going to extremes to achieve this

``````````

</details>


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


More information about the llvm-commits mailing list