Displaying 1 result from an estimated 1 matches for "myinstrinfo".
Did you mean:
mcinstrinfo
2013 Jan 31
2
[LLVMdev] Tablegen problem populating TSFlags
It seems like this code should work with Tablegen, but it generates the error:
"error:Invalid TSFlags bit in ADD"
Here's the code:
===================================
include "llvm/Target/Target.td"
def MyInstrInfo : InstrInfo;
def MyTarget : Target {
// Information about the instructions...
let InstructionSet = MyInstrInfo;
}
def r1 : Register<"r1"> { let Namespace = "Test"; }
def RC1 : RegisterClass<"Test", [i8], 8, (add r1)>;
class BitField<bits<2>...