<div><div dir="auto">I think ADD and SUB are called in a loop that iterates over a list of types.</div><br><div class="gmail_quote"><div>On Sun, Jul 23, 2017 at 3:31 AM hameeza ahmed <<a href="mailto:hahmed2305@gmail.com">hahmed2305@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello,<div><br></div><div>I want to ask why the following is not defined in x86isellowering.cpp<br><br></div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">    setOperationAction(ISD::ADD,MVT::v16i32, Legal);
</pre></div><div>means i havent seen this in x86iselolwering.cpp then how it considers v16i32 add/ sub a legal operation? but i have seen this defined for mul i.e</div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">    setOperationAction(ISD::MUL, MVT::v16i32, Legal);
</pre></div><div>but this is not defined for add and sub why??</div></div>
</blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature">~Craig</div>