[llvm] f3c0eae - [RISCV] Rename Ventana DecoderNamespace to XVentana for matching other extension. NFC.

Jim Lin via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 18 21:45:23 PDT 2023


Author: Jim Lin
Date: 2023-08-19T12:44:59+08:00
New Revision: f3c0eaeb2eb26c245182234d39bdc28f90e23350

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

LOG: [RISCV] Rename Ventana DecoderNamespace to XVentana for matching other extension. NFC.

All of them have prefix 'X' in DecoderNamespace.

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
    llvm/lib/Target/RISCV/RISCVInstrInfoXVentana.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp b/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
index 235da7cd29583c..d561d90d3088c1 100644
--- a/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
+++ b/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
@@ -528,7 +528,7 @@ DecodeStatus RISCVDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
     TRY_TO_DECODE_FEATURE(RISCV::FeatureStdExtZfinx, DecoderTableRVZfinx32,
                           "RVZfinx table (Float in Integer)");
     TRY_TO_DECODE_FEATURE(RISCV::FeatureVendorXVentanaCondOps,
-                          DecoderTableVentana32, "Ventana custom opcode table");
+                          DecoderTableXVentana32, "Ventana custom opcode table");
     TRY_TO_DECODE_FEATURE(RISCV::FeatureVendorXTHeadBa, DecoderTableXTHeadBa32,
                           "XTHeadBa custom opcode table");
     TRY_TO_DECODE_FEATURE(RISCV::FeatureVendorXTHeadBb, DecoderTableXTHeadBb32,

diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoXVentana.td b/llvm/lib/Target/RISCV/RISCVInstrInfoXVentana.td
index 9a38e109426259..d0a798ef475c43 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoXVentana.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoXVentana.td
@@ -15,7 +15,7 @@
 //===----------------------------------------------------------------------===//
 
 let Predicates = [IsRV64, HasVendorXVentanaCondOps], hasSideEffects = 0,
-  mayLoad = 0, mayStore = 0, isCodeGenOnly = 0, DecoderNamespace = "Ventana" in
+    mayLoad = 0, mayStore = 0, isCodeGenOnly = 0, DecoderNamespace = "XVentana" in
 class VTMaskedMove<bits<3> funct3, string opcodestr>
     : RVInstR<0b0000000, funct3, OPC_CUSTOM_3, (outs GPR:$rd),
               (ins GPR:$rs1, GPR:$rs2), opcodestr,


        


More information about the llvm-commits mailing list