[llvm-dev] Bug in __sync_bool_compare_and_swap at O0

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 16 09:39:37 PDT 2017


Hi Bharathi,

On 16 June 2017 at 07:58, bharathi seshadri via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Could some one give me pointers with regards
> to what might be the likely cause or where to look further ?

I strongly suspect it's the code that's expanding CMP_SWAP_64 in
ARMExpandPseudoInsts.cpp. It looks like it's not written to take
account of a big-endian target.

Cheers.

Tim.


More information about the llvm-dev mailing list