Displaying 1 result from an estimated 1 matches for "nodeorintr".
2011 Oct 26
1
[LLVMdev] Tablegen generic class argument that accepts SDNode or Intrinsic
Hi,
I'm trying to define a class in tablegen that can have either an SDNode
or an Intrinsic as an argument. Basically something like this:
class OP1 <Record NodeOrIntr> : Instruction {
let pattern = [(set Reg:$dst, (NodeOrIntr Reg:$src))];
}
I haven't been able to come with a way to do this yet. Is this
something that is possible with tablegen?
Thanks,
Tom Stellard