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

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 13:35:13 PDT 2023


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

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


>From a73c64eae6031be8744a9520a0fc5125057886f9 Mon Sep 17 00:00:00 2001
From: Arthur Eubanks <aeubanks at google.com>
Date: Tue, 17 Oct 2023 13:33:02 -0700
Subject: [PATCH] [LangRef] "cc 10" -> "ghccc"

The change to print this was made in 2014 in 35fc363ce8f04c7a74ce3848ce25d90b1a5bd556 but apparently the LangRef was never updated.
---
 llvm/docs/LangRef.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the llvm-commits mailing list