public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion
[not found] <bug-69489-4@http.gcc.gnu.org/bugzilla/>
@ 2021-07-20 7:50 ` pinskia at gcc dot gnu.org
2023-08-05 0:24 ` pinskia at gcc dot gnu.org
2023-08-24 7:13 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-20 7:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69489
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu.org
Severity|normal |enhancement
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion
[not found] <bug-69489-4@http.gcc.gnu.org/bugzilla/>
2021-07-20 7:50 ` [Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion pinskia at gcc dot gnu.org
@ 2023-08-05 0:24 ` pinskia at gcc dot gnu.org
2023-08-24 7:13 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-05 0:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69489
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2016-01-26 00:00:00 |2023-8-4
--- Comment #20 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note one thing I noticed there is a slightly different IR between using the C
and C++ front-end. An extra cast when using the C front-end.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion
[not found] <bug-69489-4@http.gcc.gnu.org/bugzilla/>
2021-07-20 7:50 ` [Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion pinskia at gcc dot gnu.org
2023-08-05 0:24 ` pinskia at gcc dot gnu.org
@ 2023-08-24 7:13 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-24 7:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69489
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-bisection
Known to work| |13.1.0
--- Comment #21 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks like this was fixed in GCC 13.
IR in GCC 13:
```
pretmp_55 = *_54;
_33 = _3 != 0;
_35 = pretmp_55 != 0;
_42 = (long int) _35;
_40 = pretmp_55 == 0;
_39 = _33 & _40;
_ifc__11 = _39 ? 1 : 0;
_26 = ntf_29 + _ifc__11;
_ifc__12 = _33 ? 0 : _42;
```
IR in GCC 12:
```
pretmp_55 = *_54;
_35 = pretmp_55 != 0;
_42 = (long int) _35;
_32 = _3 != 0;
_41 = pretmp_55 == 0;
_40 = _32 & _41;
_ifc__11 = _40 ? 1 : 0;
_26 = ntf_33 + _ifc__11;
_ifc__12 = _3 != 0 ? 0 : _42;
```
I don't know if the changing of `_3 != 0` into `_33` fixed the issue or
something else.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-24 7:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-69489-4@http.gcc.gnu.org/bugzilla/>
2021-07-20 7:50 ` [Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion pinskia at gcc dot gnu.org
2023-08-05 0:24 ` pinskia at gcc dot gnu.org
2023-08-24 7:13 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).