Displaying 1 result from an estimated 1 matches for "xstgehreturn".
2016 Jan 07
2
TableGen error message: top-level forms in instruction pattern should have void types
...[]>;
}
It will compile, but without the pattern it's not a very useful def.
Any suggestions?
I have other XSGTGPseudo definitions in the .td file which are similar
which do compile, like this:
def SDT_XSTGEhRet : SDTypeProfile<0, 2, [SDTCisInt<0>, SDTCisPtrTy<1>]>;
def XSTGEhReturn : SDNode<"XSTGISD::EH_Return", SDT_XSTGEhRet,
[SDNPHasChain, SDNPOptInGlue]>;
//
// EhReturn takes the place of regular return instruction
// but takes two arguments (R2, R3) which are used for storing
// the offset and return address respectively.
//
l...