Displaying 2 results from an estimated 2 matches for "b7yj7j".
2020 Apr 05
2
Branch is not optimized because of right shift
Hi everyone,
In a twitch chat someone redirected me to an example that is not optimized:
https://godbolt.org/z/BL-4jL
I included the original source code and this is after -O2. We both thought
that the -8 branch could be optimized out. I added a nuw in the subtraction
and it actually does it.
Any thoughts on why that doesn't happen already?
Best,
Stefanos Baziotis
-------------- next part
2020 Apr 05
2
Branch is not optimized because of right shift
...t was just lost.
Στις Κυρ, 5 Απρ 2020 στις 7:12 π.μ., ο/η John Regehr via llvm-dev <
llvm-dev at lists.llvm.org> έγραψε:
> I'm not sure that I've captured what you mean here, but you can explore
> these sorts of things using Alive2:
>
> http://volta.cs.utah.edu:8080/z/b7Yj7j
>
> John
>
>
>
> On 4/4/20 6:29 PM, Stefanos Baziotis via llvm-dev wrote:
> > Hi everyone,
> >
> > In a twitch chat someone redirected me to an example that is not
> > optimized: https://godbolt.org/z/BL-4jL
> >
> > I included the original sourc...