[llvm-dev] clang performing worse than gcc for this loop

Florian Hahn via llvm-dev llvm-dev at lists.llvm.org
Sun Aug 23 13:03:26 PDT 2020


Hi,


> On Aug 23, 2020, at 18:53, Riyaz Puthiyapurayil via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> I am analyzing a clang 10.0.0 vs gcc 7.3 performance difference that I can reproduce in the following test.
>  


It looks like Clang 11.0/trunk optimizes the example quite differently (https://godbolt.org/z/P4Eo53). Does the same performance gap exist with Clang 11.0/trunk? If it does, it would probably be best to file a bug at https://bugs.llvm.org. That way it is easy to track.

Cheers,
Florian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200823/beac9f4e/attachment.html>


More information about the llvm-dev mailing list