[llvm] f2563bc - [SystemZ] Remove unused function 'decodeU6ImmOperand' in SystemZDisassembler.cpp (NFC)
Jie Fu via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 05:21:42 PDT 2023
Author: Jie Fu
Date: 2023-04-04T20:20:54+08:00
New Revision: f2563bc111ba8e0a0e23d8fa312b055cdc353845
URL: https://github.com/llvm/llvm-project/commit/f2563bc111ba8e0a0e23d8fa312b055cdc353845
DIFF: https://github.com/llvm/llvm-project/commit/f2563bc111ba8e0a0e23d8fa312b055cdc353845.diff
LOG: [SystemZ] Remove unused function 'decodeU6ImmOperand' in SystemZDisassembler.cpp (NFC)
/data/llvm-project/llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp:209:21: error: unused function 'decodeU6ImmOperand' [-Werror,-Wunused-function]
static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm,
^
1 error generated.
Added:
Modified:
llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp b/llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp
index 979141a1962a0..0c6c109076632 100644
--- a/llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp
+++ b/llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp
@@ -206,12 +206,6 @@ static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm,
return decodeUImmOperand<4>(Inst, Imm);
}
-static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm,
- uint64_t Address,
- const MCDisassembler *Decoder) {
- return decodeUImmOperand<6>(Inst, Imm);
-}
-
static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm,
uint64_t Address,
const MCDisassembler *Decoder) {
More information about the llvm-commits
mailing list