[PATCH] D73489: [mips][NFC] Remove unused instruction formats

Miloš Stojanović via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 04:41:31 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG4c8817cddf6a: [mips][NFC] Remove unused instruction formats (authored by mstojanovic).
Herald added a subscriber: jrtc27.

Changed prior to commit:
  https://reviews.llvm.org/D73489?vs=240601&id=240839#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73489

Files:
  llvm/lib/Target/Mips/MipsInstrFormats.td


Index: llvm/lib/Target/Mips/MipsInstrFormats.td
===================================================================
--- llvm/lib/Target/Mips/MipsInstrFormats.td
+++ llvm/lib/Target/Mips/MipsInstrFormats.td
@@ -169,39 +169,6 @@
 }
 
 //===----------------------------------------------------------------------===//
-// Format I instruction class in Mips : <|opcode|rs|rt|immediate|>
-//===----------------------------------------------------------------------===//
-
-class FI<bits<6> op, dag outs, dag ins, string asmstr, list<dag> pattern,
-         InstrItinClass itin>: InstSE<outs, ins, asmstr, pattern, itin, FrmI>
-{
-  bits<5>  rt;
-  bits<5>  rs;
-  bits<16> imm16;
-
-  let Opcode = op;
-
-  let Inst{25-21} = rs;
-  let Inst{20-16} = rt;
-  let Inst{15-0}  = imm16;
-}
-
-class BranchBase<bits<6> op, dag outs, dag ins, string asmstr,
-                  list<dag> pattern, InstrItinClass itin>:
-  InstSE<outs, ins, asmstr, pattern, itin, FrmI>
-{
-  bits<5>  rs;
-  bits<5>  rt;
-  bits<16> imm16;
-
-  let Opcode = op;
-
-  let Inst{25-21} = rs;
-  let Inst{20-16} = rt;
-  let Inst{15-0}  = imm16;
-}
-
-//===----------------------------------------------------------------------===//
 // Format J instruction class in Mips : <|opcode|address|>
 //===----------------------------------------------------------------------===//
 
@@ -711,20 +678,6 @@
 // Format FI instruction class in Mips : <|opcode|base|ft|immediate|>
 //===----------------------------------------------------------------------===//
 
-class FFI<bits<6> op, dag outs, dag ins, string asmstr, list<dag> pattern>:
-  InstSE<outs, ins, asmstr, pattern, NoItinerary, FrmFI>
-{
-  bits<5>  ft;
-  bits<5>  base;
-  bits<16> imm16;
-
-  let Opcode = op;
-
-  let Inst{25-21} = base;
-  let Inst{20-16} = ft;
-  let Inst{15-0}  = imm16;
-}
-
 class ADDS_FM<bits<6> funct, bits<5> fmt> : StdArch {
   bits<5> fd;
   bits<5> fs;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73489.240839.patch
Type: text/x-patch
Size: 1903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200128/cd4e6a6b/attachment.bin>


More information about the llvm-commits mailing list