https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114231
--- Comment #6 from Andrew Pinski ---
A little better reduced (this time only 1 BB even):
```
void f(long*);
int ff[2];
void f2(long, long, unsigned long);
void k(unsigned long x, unsigned long y) {
long t = x >> ff[0];
long t1 = ff[1];
u
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114231
--- Comment #5 from Andrew Pinski ---
Little more reduced:
```
void f(long*);
int ff[2];
void f1(long, long);
void k(unsigned long x, unsigned long y) {
long t = x >> ff[0];
long t1 = ff[1];
unsigned long t2 = y >> ff[0];
long t3 = t+t2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114231
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114231
--- Comment #3 from Andrew Pinski ---
vectorizable_shift
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114231
--- Comment #2 from Sam James ---
(In reply to Sam James from comment #1)
> Created attachment 57607 [details]
> reduced.ii
>
> `g++ -c reduced.ii -march=sapphirerapids -O2 -fno-vect-cost-model` is enough
> for the reduced version.
in fact, g+
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114231
Andrew Pinski changed:
What|Removed |Added
Keywords||ice-on-valid-code
Target Milestone|--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114231
--- Comment #1 from Sam James ---
Created attachment 57607
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57607&action=edit
reduced.ii
`g++ -c reduced.ii -march=sapphirerapids -O2 -fno-vect-cost-model` is enough
for the reduced version.