[Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 26 14:58:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69489

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-01-26
             Blocks|                            |53947
            Summary|missed vectorization for    |missed vectorization for
                   |boolean loop                |boolean loop, missed
                   |                            |if-conversion
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ok, so the trick here is to see that v[i] is always loaded (and thus it may
not be NULL or otherwise trapping) because either u[i] or !u[i] will be true.

This is a missed if-conversion opportunity.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947
[Bug 53947] [meta-bug] vectorizer missed-optimizations


More information about the Gcc-bugs mailing list