https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
--- Comment #10 from GCC Commits ---
The trunk branch has been updated by Andrew Pinski :
https://gcc.gnu.org/g:b73373520f0ed5d131d2cd6ee9078939a98d7a0d
commit r15-3040-gb73373520f0ed5d131d2cd6ee9078939a98d7a0d
Author: Andrew Pinski
Date: M
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
--- Comment #11 from GCC Commits ---
The trunk branch has been updated by Andrew Pinski :
https://gcc.gnu.org/g:eface71c18caea3009ddc1ac624cb41647e9d5c4
commit r15-3041-geface71c18caea3009ddc1ac624cb41647e9d5c4
Author: Andrew Pinski
Date: M
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
--- Comment #9 from GCC Commits ---
The trunk branch has been updated by Andrew Pinski :
https://gcc.gnu.org/g:82a2f1386b2e8c951e910e1096a04bed21bbd39b
commit r15-3039-g82a2f1386b2e8c951e910e1096a04bed21bbd39b
Author: Andrew Pinski
Date: Mo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
--- Comment #8 from Andrew Pinski ---
Patch posted for the original testcases:
https://gcc.gnu.org/pipermail/gcc-patches/2024-August/660221.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
--- Comment #7 from Andrew Pinski ---
Created attachment 58916
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58916&action=edit
vector testcases
Note f2 is handled for all OP because of:
```
/* Sink binary operation to branches, but only
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
--- Comment #6 from Andrew Pinski ---
Created attachment 58915
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58915&action=edit
scalar gimple testcases
Note f2 is not optimized either.
It should be simple as:
(simplify
(op:c
(cnd @0 @
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
--- Comment #5 from Andrew Pinski ---
Two more cases, this time with XOR (^):
```
int min7(int a, int b) {
const int c = a < b;
return (c * a) ^ ((1 - c) * b);
}
int min8(int a, int b) {
const bool c = a < b;
return (c * a) ^ (!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
--- Comment #4 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #3)
> Note I think the patterns added in that revision were incorrect:
> + (cond (cmp@0 @01 @02) @3 zerop)
> + (cond (icmp@4 @01 @02) @5 zerop))
>
> allows for @
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
--- Comment #3 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #2)
> Actually:
> ```
> (for (op plus bit_ior bit_xor)
> (simplify
> (op (cond @0 @1 integer_zero_p)
> (cond @2 @3 integer_zero_p))
> (with { bool wascmp; }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
Andrew Pinski changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2021-12-12
CC|
12 matches
Mail list logo