[llvm-commits] FW: [PATCH] Fix a bug in GenWidenVectorLoads

Rotem, Nadav nadav.rotem at intel.com
Sat Jul 16 03:37:25 PDT 2011


Ping.

From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Rotem, Nadav
Sent: Wednesday, July 13, 2011 10:30
To: llvm-commits at cs.uiuc.edu
Subject: [llvm-commits] [PATCH] Fix a bug in GenWidenVectorLoads

On AVX, we can load 8xi32 at a time. The bug happens when two uneven loads are used: When we load the v12i32 type, the GenWidenVectorLoads method generates two loads: v8xi32 and v4xi32 and attempts to use CONCAT_VECTORS to join them. In this fix I concat undef values to fix the smaller value. The test "widen_load-2.ll" exposes this bug  (if you implement wide loads...).

---------------------------------------------------------------------
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.
---------------------------------------------------------------------
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/20110716/5c7fb5de/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: widestore.diff
Type: application/octet-stream
Size: 1827 bytes
Desc: widestore.diff
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110716/5c7fb5de/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001..txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110716/5c7fb5de/attachment.txt>


More information about the llvm-commits mailing list