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

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Mon Jul 18 10:16:17 PDT 2011


Nice. LGTM. Can you attach a testcase too?

On Wed, Jul 13, 2011 at 12:30 AM, Rotem, Nadav <nadav.rotem at intel.com> wrote:
> 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.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>



-- 
Bruno Cardoso Lopes
http://www.brunocardoso.cc




More information about the llvm-commits mailing list