Displaying 2 results from an estimated 2 matches for "890eb693".
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
...____________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200405/890eb693/attachment-0001.html>