[LLVMdev] RFC - VectorUtils.h isTriviallyVectorizable(Intrinsic::ID)
Mark Schimmel
Mark.Schimmel at synopsys.com
Mon Feb 9 14:17:21 PST 2015
The patch is attached.
-----Original Message-----
From: Hal Finkel [mailto:hfinkel at anl.gov]
Sent: Monday, February 02, 2015 7:28 PM
To: Mark Schimmel
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isTriviallyVectorizable.patch
Type: application/octet-stream
Size: 7907 bytes
Desc: isTriviallyVectorizable.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/1ca6f61e/attachment.obj>
More information about the llvm-commits
mailing list