[llvm] 808c726 - [LLVM][Docs] Define IR in the lexicon (#221388)

via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 26 12:40:11 PDT 2026


Author: Prajit Rahul
Date: 2026-09-26T12:40:05-07:00
New Revision: 808c726db2fe24f7ba2901f5701ae19cfe602f0a

URL: https://github.com/llvm/llvm-project/commit/808c726db2fe24f7ba2901f5701ae19cfe602f0a
DIFF: https://github.com/llvm/llvm-project/commit/808c726db2fe24f7ba2901f5701ae19cfe602f0a.diff

LOG: [LLVM][Docs] Define IR in the lexicon (#221388)

Define IR in the LLVM lexicon using terminology from the LLVM Language
Reference Manual, including its SSA-based structure and three equivalent
representations.

Fixes #139867

AI Usage: ChatGPT

Added: 
    

Modified: 
    llvm/docs/Lexicon.md

Removed: 
    


################################################################################
diff  --git a/llvm/docs/Lexicon.md b/llvm/docs/Lexicon.md
index 9faad0bbcbb83..7bd5ffc8b4b2e 100644
--- a/llvm/docs/Lexicon.md
+++ b/llvm/docs/Lexicon.md
@@ -162,6 +162,13 @@ This document is a work in progress!
 :   Inter-Procedural Optimization. Refers to any variety of code optimization
     that occurs between procedures, functions or compilation units (modules).
 
+**IR**
+:   Intermediate Representation. LLVM IR is the common code representation
+    used throughout LLVM's compilation process. It is typed and based on
+    Static Single Assignment (SSA), with three equivalent forms: in-memory
+    IR, on-disk bitcode, and human-readable assembly. See the
+    {doc}`LLVM Language Reference Manual <LangRef>`.
+
 **ISel**
 :   Instruction Selection
 


        


More information about the llvm-commits mailing list