[llvm-dev] setOperationAction(ISD::ADD, MVT::v16i32, Legal) in isellowering.cpp

hameeza ahmed via llvm-dev llvm-dev at lists.llvm.org
Sun Jul 23 03:31:05 PDT 2017


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??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170723/23eee402/attachment.html>


More information about the llvm-dev mailing list