Displaying 1 result from an estimated 1 matches for "sdt_xstgehret".
2016 Jan 07
2
TableGen error message: top-level forms in instruction pattern should have void types
..."! RELADDR $spoff, $dst",
[]>;
}
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 argumen...