[llvm] ba8b8a7 - [RISCV][NFC] Update debug message for XTHeadVdot

Philipp Tomsich via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 01:12:47 PST 2023


Author: Philipp Tomsich
Date: 2023-02-06T10:12:34+01:00
New Revision: ba8b8a73fcb6b830e63cd8e20c6e13b2a14d69bf

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

LOG: [RISCV][NFC] Update debug message for XTHeadVdot

As we prepare the tree to add more vendor-defined extensions that are
originating with T-Head, the debug message announcing the XTheadVdot
decoder namespace should refer to XTHeadVdot instead of all T-Head
custom extensions.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp b/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
index ea80d899c127..c999c91dad6c 100644
--- a/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
+++ b/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
@@ -491,7 +491,7 @@ DecodeStatus RISCVDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
       }
     }
     if (STI.getFeatureBits()[RISCV::FeatureVendorXTHeadVdot]) {
-      LLVM_DEBUG(dbgs() << "Trying T-Head custom opcode table:\n");
+      LLVM_DEBUG(dbgs() << "Trying XTHeadVdot custom opcode table:\n");
       Result =
           decodeInstruction(DecoderTableTHeadV32, MI, Insn, Address, this, STI);
       if (Result != MCDisassembler::Fail) {


        


More information about the llvm-commits mailing list