[PATCH] D157831: [AVR][NFC] Remove unused instruction classes

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 13 23:24:57 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG94272389a0a9: [AVR][NFC] Remove unused instruction classes (authored by benshi001).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157831

Files:
  llvm/lib/Target/AVR/AVRInstrFormats.td


Index: llvm/lib/Target/AVR/AVRInstrFormats.td
===================================================================
--- llvm/lib/Target/AVR/AVRInstrFormats.td
+++ llvm/lib/Target/AVR/AVRInstrFormats.td
@@ -75,17 +75,6 @@
   let Inst{3 - 0} = rr{3 - 0};
 }
 
-class FTST<bits<4> opcode, bits<2> f, dag outs, dag ins, string asmstr,
-           list<dag> pattern> : AVRInst16<outs, ins, asmstr, pattern> {
-  bits<5> rd;
-
-  let Inst{15 - 12} = opcode;
-  let Inst{11 - 10} = f;
-  let Inst{9} = rd{4};
-  let Inst{8 - 4} = rd;
-  let Inst{3 - 0} = rd{3 - 0};
-}
-
 //===----------------------------------------------------------------------===//
 // Instruction of the format `<mnemonic> Z, Rd`
 // <|1001|001r|rrrr|0ttt>
@@ -445,11 +434,6 @@
   let Inst = opcode;
 }
 
-class F32<bits<32> opcode, dag outs, dag ins, string asmstr, list<dag> pattern>
-    : AVRInst32<outs, ins, asmstr, pattern> {
-  let Inst = opcode;
-}
-
 //===----------------------------------------------------------------------===//
 // Branching instructions with immediate12: <|110f|kkkk|kkkk|kkkk|>
 // f = secondary opcode = 1 bit


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157831.549800.patch
Type: text/x-patch
Size: 1107 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230814/e802284f/attachment.bin>


More information about the llvm-commits mailing list