[LLVMdev] RFC - VectorUtils.h isTriviallyVectorizable(Intrinsic::ID)

Hal Finkel hfinkel at anl.gov
Mon Feb 2 19:28:27 PST 2015


----- 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




More information about the llvm-dev mailing list