This patch attempts to improve tablegen support for instruction patterns like this which have more than one explicit result.
[(set _.RC:$dst, _.KRCWM:$mask_wb,
(GatherNode (_.VT _.RC:$src1), _.KRCWM:$mask, vectoraddr:$src2))]
Paths
| Differential D8073
Improve CodeGenDAGPattern support with multiple explicit results in an instruction pattern ClosedPublic Authored by craig.topper on Mar 4 2015, 9:39 PM.
Details
Summary This patch attempts to improve tablegen support for instruction patterns like this which have more than one explicit result. [(set _.RC:$dst, _.KRCWM:$mask_wb, (GatherNode (_.VT _.RC:$src1), _.KRCWM:$mask, vectoraddr:$src2))]
Diff Detail Event Timelinecraig.topper retitled this revision from to Improve CodeGenDAGPattern support with multiple explicit results in an instruction pattern. craig.topper updated this object. hfinkel edited edge metadata. Comment ActionsLGTM, thanks!
This revision is now accepted and ready to land.Mar 4 2015, 9:59 PM Comment Actions To be honest I don't know if I know the code well enough to know if that Comment Actions
Okay, fair enough. You're right, the asserts on this condition are like this for some reason. Let's keep it this way in this patch, and we'll improve them all together later.
Revision Contents
Diff 21254 utils/TableGen/CodeGenDAGPatterns.cpp
|
Please improve the string in this assert to explain what is not handled.