Displaying 2 results from an estimated 2 matches for "_07tok".
2019 Oct 31
2
llvm emits unoptimized code
...<
> llvm-dev at lists.llvm.org> wrote:
>
>> Looks pretty similar to the GCC generated code
>
>
> Challenge accepted => https://godbolt.org/z/8PX2La
>
Which challenge? Sorry, could've linked to the godbolt I was looking at
when I said that: https://godbolt.org/z/_07tOk - comparing GCC and Clang
trunk on the code linked in the original post. Looked/looks fairly similar
to me. But yeah, I don't know much beyond that.
>
> -- Jorg
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
&g...
2019 Oct 31
3
llvm emits unoptimized code
Hi Devs,
Consider testcase here
https://godbolt.org/z/qHZzqw
When optimization is O1 or above it produces unoptimized code
because it calls __tls_get_address in loops.
While with optimization disabled
It produce single call to __tls_get_address outside of loop.
is this a missed optimization by llvm?
./Kamlesh