[llvm-commits] [Patch] Add support for v16i32 and v16i64 types to codegen

Rotem, Nadav nadav.rotem at intel.com
Thu Jul 26 14:13:11 PDT 2012


Hi Micha,

You missed one place.  In include/llvm/Intrinsics.td you need to add the new type, such as:
def llvm_v16i32_ty       : LLVMType<v16i32>;

Besides that,  LGTM.

Nadav

From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Villmow, Micah
Sent: Thursday, July 26, 2012 22:53
To: llvm-commits at cs.uiuc.edu
Subject: Re: [llvm-commits] [Patch] Add support for v16i32 and v16i64 types to codegen

New version of the patch, had a merge failure that I missed.

From: llvm-commits-bounces at cs.uiuc.edu<mailto:llvm-commits-bounces at cs.uiuc.edu> [mailto:llvm-commits-bounces at cs.uiuc.edu]<mailto:[mailto:llvm-commits-bounces at cs.uiuc.edu]> On Behalf Of Villmow, Micah
Sent: Thursday, July 26, 2012 12:21 PM
To: llvm-commits at cs.uiuc.edu<mailto:llvm-commits at cs.uiuc.edu>
Subject: [llvm-commits] [Patch] Add support for v16i32 and v16i64 types to codegen

This patch adds support for v16i32 and v16i64 types to code gen. This is required because in parts of the code base in the legalizer phase, the query getSetCCResultsType is called on a v16i8, which on the AMDIL architecture needs to return a v16i32 for i8/i16/f32/i32 and v16i64 for f64/i64 types. This adds in support for this.

The attached test case shows the issue, but it doesn't appear on any in-tree backends. The patch is attached.
I have more patches coming, but trying to keep individual patches small and self contained.
Thanks,
Micah
---------------------------------------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120726/1a4c7b6d/attachment.html>


More information about the llvm-commits mailing list