This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/55155] Autovectorization does not use unaligned loads/stores
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 31 Oct 2012 21:44:20 +0000
- Subject: [Bug tree-optimization/55155] Autovectorization does not use unaligned loads/stores
- Auto-submitted: auto-generated
- References: <bug-55155-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55155
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-10-31 21:44:20 UTC ---
<bb 2>:
_19 = num_prods_6(D) * 16;
if (_19 != 0)
goto <bb 4>;
else
goto <bb 3>;
<bb 3>:
return;
<bb 4>:
_16 = ASSERT_EXPR <_19, _19 != 0>;
...
if (_16 <= 4)
goto <bb 5>;
else
goto <bb 21>;
We should have an assert_expr that _16 is also greater or equal to than 16.
Note this is changing unsigned to __SIZE_TYPE__ so casting does not get in the
way.