[PATCH] D147521: [SystemZ] Drop decodeU6ImmOperand
Ilya Leoshkevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 05:19:11 PDT 2023
iii created this revision.
iii added reviewers: uweigand, jonpa.
Herald added a subscriber: hiraditya.
Herald added a project: All.
iii requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
It's no longer used, which leads to the -Wunused-function warning.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D147521
Files:
llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp
Index: llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp
===================================================================
--- llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp
+++ llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp
@@ -206,12 +206,6 @@
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) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147521.510755.patch
Type: text/x-patch
Size: 781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230404/19bc8d76/attachment.bin>
More information about the llvm-commits
mailing list