[llvm-dev] setOperationAction(ISD::ADD, MVT::v16i32, Legal) in isellowering.cpp
Craig Topper via llvm-dev
llvm-dev at lists.llvm.org
Sun Jul 23 07:37:17 PDT 2017
I think ADD and SUB are called in a loop that iterates over a list of types.
On Sun, Jul 23, 2017 at 3:31 AM hameeza ahmed <hahmed2305 at gmail.com> wrote:
> Hello,
>
> I want to ask why the following is not defined in x86isellowering.cpp
>
> setOperationAction(ISD::ADD,MVT::v16i32, Legal);
>
> 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
>
> setOperationAction(ISD::MUL, MVT::v16i32, Legal);
>
> but this is not defined for add and sub why??
>
--
~Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170723/37fabdd9/attachment-0001.html>
More information about the llvm-dev
mailing list