Mark Schimmel
2015-Feb-02 22:27 UTC
[LLVMdev] RFC - VectorUtils.h isTriviallyVectorizable(Intrinsic::ID)
Can we make this an attribute on the intrinsic definition instead of a separate switch table? For example, I can specify an intrinsic is "Commutative" rather than having to add to a switch statement somewhere. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150202/d54d0275/attachment.html>
Hal Finkel
2015-Feb-03 03:28 UTC
[LLVMdev] RFC - VectorUtils.h isTriviallyVectorizable(Intrinsic::ID)
----- Original Message -----> From: "Mark Schimmel" <Mark.Schimmel at synopsys.com> > To: llvmdev at cs.uiuc.edu > Sent: Monday, February 2, 2015 4:27:33 PM > Subject: [LLVMdev] RFC - VectorUtils.h isTriviallyVectorizable(Intrinsic::ID) > > Can we make this an attribute on the intrinsic definition instead of > a separate switch table? For example, I can specify an intrinsic is > “Commutative” rather than having to add to a switch statement > somewhere.Yes, I think we could definitely do that. Patches welcome. -Hal> > Thanks > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- Hal Finkel Assistant Computational Scientist Leadership Computing Facility Argonne National Laboratory