[llvm-commits] Additional value types - Please review

Hal Finkel hfinkel at anl.gov
Thu Dec 20 14:34:59 PST 2012


----- Original Message -----
> From: "Elena Demikhovsky" <elena.demikhovsky at intel.com>
> To: "Commit Messages and Patches for LLVM" <llvm-commits at cs.uiuc.edu>
> Sent: Thursday, December 20, 2012 8:23:15 AM
> Subject: [llvm-commits] Additional value types - Please review
> 
> 
> Hi,
> 
> I want to add some value types, like v32i1, v64i1.
> Thanks.

in include/llvm/CodeGen/ValueTypes.h update is64BitVector etc.

in include/llvm/Intrinsics.td add
def llvm_v64i1_ty      : LLVMType<v64i1>;    // 64 x i1
(etc.)

in lib/VMCore/ValueTypes.cpp update EVT::getEVTString and EVT::getTypeForEVT

in utils/TableGen/CodeGenTarget.cpp update llvm::getEnumName

 -Hal

> 
> - Elena
> 
> 
> ---------------------------------------------------------------------
> Intel Israel (74) Limited
> 
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 

-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory



More information about the llvm-commits mailing list