[llvm] c379a5b - [RISCV][NFC] Future-proof reference to ISA manual in RISCVInstrInfoC.td

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 05:51:47 PDT 2024


Author: Alex Bradbury
Date: 2024-04-26T13:49:27+01:00
New Revision: c379a5b69e7e1917589a1d0b6993d74e6697490e

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

LOG: [RISCV][NFC] Future-proof reference to ISA manual in RISCVInstrInfoC.td

The reference to a particular page number is long since out of date.
Instead, let's name the section title which at least has remained stable
so far.

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVInstrInfoC.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoC.td b/llvm/lib/Target/RISCV/RISCVInstrInfoC.td
index 18d38348f7214f..f4e50d7aa45c5b 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoC.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoC.td
@@ -841,7 +841,7 @@ def : InstAlias<".insn_cj $opcode, $funct3, $imm11",
 //===----------------------------------------------------------------------===//
 
 // Patterns are defined in the same order the compressed instructions appear
-// on page 82 of the ISA manual.
+// under the "RVC Instruction Set Listings" section of the ISA manual.
 
 // Quadrant 0
 let Predicates = [HasStdExtCOrZca] in {


        


More information about the llvm-commits mailing list