Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ class AMDGPUInst <dag outs, dag ins, string asm = "",
let Pattern = pattern;
let Itinerary = NullALU;

// SoftFail is a field the disassembler can use to provide a way for
// instructions to not match without killing the whole decode process. It is
// mainly used for ARM, but Tablegen expects this field to exist or it fails
// to build the decode table.
field bits<128> SoftFail = 0; // FIXME: If this is smaller than largest instruction, DecodeEmitter crashes

let DecoderNamespace = Namespace;

let TSFlags{63} = isRegisterLoad;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/ARC/ARCInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

class Encoding64 {
field bits<64> Inst;
field bits<64> SoftFail = 0;
}

// Address operands
Expand Down
2 changes: 0 additions & 2 deletions llvm/lib/Target/AVR/AVRInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ class AVRInst<dag outs, dag ins, string asmstr, list<dag> pattern>
dag InOperandList = ins;
let AsmString = asmstr;
let Pattern = pattern;

field bits<32> SoftFail = 0;
}

/// A 16-bit AVR instruction.
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/BPF/BPFInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ def BPF_FETCH : BPFAtomicFlag<0x1>;
class InstBPF<dag outs, dag ins, string asmstr, list<dag> pattern>
: Instruction {
field bits<64> Inst;
field bits<64> SoftFail = 0;
let Size = 8;

let Namespace = "BPF";
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/CSKY/CSKYInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class CSKYInst<AddrMode am, int sz, dag outs, dag ins, string asmstr,
let Namespace = "CSKY";
int Size = sz;
AddrMode AM = am;
field bits<32> SoftFail = 0;
let OutOperandList = outs;
let InOperandList = ins;
let AsmString = asmstr;
Expand Down
12 changes: 0 additions & 12 deletions llvm/lib/Target/Hexagon/HexagonInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ class InstHexagon<dag outs, dag ins, string asmstr, list<dag> pattern,
let Itinerary = itin;
let Size = 4;

// SoftFail is a field the disassembler can use to provide a way for
// instructions to not match without killing the whole decode process. It is
// mainly used for ARM, but Tablegen expects this field to exist or it fails
// to build the decode table.
field bits<32> SoftFail = 0;

// *** Must match MCTargetDesc/HexagonBaseInfo.h ***

// Instruction type according to the ISA.
Expand Down Expand Up @@ -287,12 +281,6 @@ class InstDuplex<bits<4> iClass, string cstr = ""> : Instruction,
let Itinerary = DUPLEX;
let Size = 4;

// SoftFail is a field the disassembler can use to provide a way for
// instructions to not match without killing the whole decode process. It is
// mainly used for ARM, but Tablegen expects this field to exist or it fails
// to build the decode table.
field bits<32> SoftFail = 0;

// *** Must match MCTargetDesc/HexagonBaseInfo.h ***

let TSFlags{6-0} = Type.Value;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/Lanai/LanaiInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
class InstLanai<dag outs, dag ins, string asmstr, list<dag> pattern>
: Instruction {
field bits<32> Inst;
field bits<32> SoftFail = 0;
let Size = 4;

let Namespace = "Lanai";
Expand Down
5 changes: 0 additions & 5 deletions llvm/lib/Target/LoongArch/LoongArchInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ class LAInst<dag outs, dag ins, string opcstr, string opnstr,
list<dag> pattern = []>
: Instruction {
field bits<32> Inst;
// SoftFail is a field the disassembler can use to provide a way for
// instructions to not match without killing the whole decode process. It is
// mainly used for ARM, but Tablegen expects this field to exist or it fails
// to build the decode table.
field bits<32> SoftFail = 0;

let Namespace = "LoongArch";
let Size = 4;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/MSP430/MSP430InstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def DstMem : DestMode<1>; // m
// Generic MSP430 Format
class MSP430Inst<dag outs, dag ins, int size, string asmstr> : Instruction {
field bits<48> Inst;
field bits<48> SoftFail = 0;

let Namespace = "MSP430";

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/Mips/MicroMipsInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class MicroMipsInst16<dag outs, dag ins, string asmstr, list<dag> pattern,
{
let Size = 2;
field bits<16> Inst;
field bits<16> SoftFail = 0;
bits<6> Opcode = 0x0;
}

Expand Down
2 changes: 0 additions & 2 deletions llvm/lib/Target/Mips/Mips16InstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class MipsInst16<dag outs, dag ins, string asmstr, list<dag> pattern,
let Inst{15-11} = Opcode;

let Size=2;
field bits<16> SoftFail = 0;
}

//
Expand All @@ -75,7 +74,6 @@ class MipsInst16_32<dag outs, dag ins, string asmstr, list<dag> pattern,
field bits<32> Inst;

let Size=4;
field bits<32> SoftFail = 0;
}

class MipsInst16_EXTEND<dag outs, dag ins, string asmstr, list<dag> pattern,
Expand Down
2 changes: 0 additions & 2 deletions llvm/lib/Target/Mips/MipsInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ class MipsInst<dag outs, dag ins, string asmstr, list<dag> pattern,
let TSFlags{6} = hasFCCRegOperand;

let DecoderNamespace = "Mips";

field bits<32> SoftFail = 0;
}

// Mips32/64 Instruction Format
Expand Down
2 changes: 0 additions & 2 deletions llvm/lib/Target/PowerPC/PPCInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
class I<bits<6> opcode, dag OOL, dag IOL, string asmstr, InstrItinClass itin>
: Instruction {
field bits<32> Inst;
field bits<32> SoftFail = 0;
let Size = 4;

bit PPC64 = 0; // Default value, override with isPPC64
Expand Down Expand Up @@ -95,7 +94,6 @@ class I2<bits<6> opcode1, bits<6> opcode2, dag OOL, dag IOL, string asmstr,
InstrItinClass itin>
: Instruction {
field bits<64> Inst;
field bits<64> SoftFail = 0;
let Size = 8;

bit PPC64 = 0; // Default value, override with isPPC64
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/PowerPC/PPCInstrP10.td
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ def PPClxvrzx : SDNode<"PPCISD::LXVRZX", SDT_PPCLXVRZX,
class PI<bits<6> pref, bits<6> opcode, dag OOL, dag IOL, string asmstr,
InstrItinClass itin> : Instruction {
field bits<64> Inst;
field bits<64> SoftFail = 0;
bit PCRel = 0; // Default value, set by isPCRel.
let Size = 8;

Expand Down
7 changes: 0 additions & 7 deletions llvm/lib/Target/RISCV/RISCVInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -273,27 +273,20 @@ class RVInst<dag outs, dag ins, string opcodestr, string argstr,
list<dag> pattern, InstFormat format>
: RVInstCommon<outs, ins, opcodestr, argstr, pattern, format> {
field bits<32> Inst;
// SoftFail is a field the disassembler can use to provide a way for
// instructions to not match without killing the whole decode process. It is
// mainly used for ARM, but Tablegen expects this field to exist or it fails
// to build the decode table.
field bits<32> SoftFail = 0;
let Size = 4;
}

class RVInst48<dag outs, dag ins, string opcodestr, string argstr,
list<dag> pattern, InstFormat format>
: RVInstCommon<outs, ins, opcodestr, argstr, pattern, format> {
field bits<48> Inst;
field bits<48> SoftFail = 0;
let Size = 6;
}

class RVInst64<dag outs, dag ins, string opcodestr, string argstr,
list<dag> pattern, InstFormat format>
: RVInstCommon<outs, ins, opcodestr, argstr, pattern, format> {
field bits<64> Inst;
field bits<64> SoftFail = 0;
let Size = 8;
}

Expand Down
5 changes: 0 additions & 5 deletions llvm/lib/Target/RISCV/RISCVInstrFormatsC.td
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ class RVInst16<dag outs, dag ins, string opcodestr, string argstr,
list<dag> pattern, InstFormat format>
: RVInstCommon<outs, ins, opcodestr, argstr, pattern, format> {
field bits<16> Inst;
// SoftFail is a field the disassembler can use to provide a way for
// instructions to not match without killing the whole decode process. It is
// mainly used for ARM, but Tablegen expects this field to exist or it fails
// to build the decode table.
field bits<16> SoftFail = 0;
let Size = 2;
}

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/Sparc/SparcInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class InstSP<dag outs, dag ins, string asmstr, list<dag> pattern,
let Pattern = pattern;

let DecoderNamespace = "Sparc";
field bits<32> SoftFail = 0;

let Itinerary = itin;
}
Expand Down
Loading