<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
You can't. Type inference for instruction selection requires that the<br>
final types in a pattern are exact (i.e. that it infers a single type<br>
for each node in the pattern), regardless of the output pattern. Since<br>
GR32 allows multiple types, you need to specify the two input patterns<br>
separately.<br>
<br>
-Krzysztof<br><br></blockquote><div> I think we can make table gen generate pattern with complete type information (when type is not specify for some input/output parameter) so that code is less. I am not sure apart from me anyone want such feature. But if it is good to have then I can look into it.</div><div>-Vivek</div></div></div></div>