[PATCH] D153523: TODO: BPF

Ivan Kosarev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 03:59:38 PDT 2023


kosarev updated this revision to Diff 533540.
kosarev retitled this revision from "[BPF] Remove unused TableGen classes and multiclasses." to "TODO: BPF".
kosarev edited the summary of this revision.
kosarev added a comment.

Fix commit message.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153523/new/

https://reviews.llvm.org/D153523

Files:
  llvm/lib/Target/BPF/BPFInstrFormats.td
  llvm/lib/Target/BPF/CMakeLists.txt


Index: llvm/lib/Target/BPF/CMakeLists.txt
===================================================================
--- llvm/lib/Target/BPF/CMakeLists.txt
+++ llvm/lib/Target/BPF/CMakeLists.txt
@@ -5,7 +5,7 @@
 tablegen(LLVM BPFGenAsmMatcher.inc -gen-asm-matcher)
 tablegen(LLVM BPFGenAsmWriter.inc -gen-asm-writer)
 tablegen(LLVM BPFGenCallingConv.inc -gen-callingconv)
-tablegen(LLVM BPFGenDAGISel.inc -gen-dag-isel)
+tablegen(LLVM BPFGenDAGISel.inc -gen-dag-isel -warn-on-unused-entities)
 tablegen(LLVM BPFGenDisassemblerTables.inc -gen-disassembler)
 tablegen(LLVM BPFGenInstrInfo.inc -gen-instr-info)
 tablegen(LLVM BPFGenMCCodeEmitter.inc -gen-emitter)
Index: llvm/lib/Target/BPF/BPFInstrFormats.td
===================================================================
--- llvm/lib/Target/BPF/BPFInstrFormats.td
+++ llvm/lib/Target/BPF/BPFInstrFormats.td
@@ -48,10 +48,6 @@
 def BPF_XCHG    : BPFArithOp<0xe>;
 def BPF_CMPXCHG : BPFArithOp<0xf>;
 
-class BPFEndDir<bits<1> val> {
-  bits<1> Value = val;
-}
-
 def BPF_TO_LE : BPFSrcType<0x0>;
 def BPF_TO_BE : BPFSrcType<0x1>;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153523.533540.patch
Type: text/x-patch
Size: 1078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230622/d193c1c2/attachment.bin>


More information about the llvm-commits mailing list