| commit | b5ce6ee835786cd06c8b7d43c2d13c9dd5c29a90 | [log] [tgz] |
|---|---|---|
| author | Nadav Rotem <nadav.rotem@intel.com> | Wed Jan 11 20:19:17 2012 +0000 |
| committer | Nadav Rotem <nadav.rotem@intel.com> | Wed Jan 11 20:19:17 2012 +0000 |
| tree | 09fa0e0277f12e0a644b0f583ae9ac98a8f0105b | |
| parent | a230dea394d9405dcf00cde41f8514f945c21ff9 [diff] |
On AVX, we can load v8i32 at a time. The bug happens when two uneven loads are used. When we load the v12i32 type, the GenWidenVectorLoads method generates two loads: v8i32 and v4i32 and attempts to use CONCAT_VECTORS to join them. In this fix I concat undef values to widen the smaller value. The test "widen_load-2.ll" also exposes this bug on AVX. llvm-svn: 147964