Skip to content

Commit 9427238

Browse files
committed
[AVR][NFC] Remove unused instruction classes
Reviewed By: jacquesguan Differential Revision: https://reviews.llvm.org/D157831
1 parent 9423971 commit 9427238

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

llvm/lib/Target/AVR/AVRInstrFormats.td

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,6 @@ class FRdRr<bits<4> opcode, bits<2> f, dag outs, dag ins, string asmstr,
7575
let Inst{3 - 0} = rr{3 - 0};
7676
}
7777

78-
class FTST<bits<4> opcode, bits<2> f, dag outs, dag ins, string asmstr,
79-
list<dag> pattern> : AVRInst16<outs, ins, asmstr, pattern> {
80-
bits<5> rd;
81-
82-
let Inst{15 - 12} = opcode;
83-
let Inst{11 - 10} = f;
84-
let Inst{9} = rd{4};
85-
let Inst{8 - 4} = rd;
86-
let Inst{3 - 0} = rd{3 - 0};
87-
}
88-
8978
//===----------------------------------------------------------------------===//
9079
// Instruction of the format `<mnemonic> Z, Rd`
9180
// <|1001|001r|rrrr|0ttt>
@@ -445,11 +434,6 @@ class F16<bits<16> opcode, dag outs, dag ins, string asmstr, list<dag> pattern>
445434
let Inst = opcode;
446435
}
447436

448-
class F32<bits<32> opcode, dag outs, dag ins, string asmstr, list<dag> pattern>
449-
: AVRInst32<outs, ins, asmstr, pattern> {
450-
let Inst = opcode;
451-
}
452-
453437
//===----------------------------------------------------------------------===//
454438
// Branching instructions with immediate12: <|110f|kkkk|kkkk|kkkk|>
455439
// f = secondary opcode = 1 bit

0 commit comments

Comments
 (0)