Identified a while before the release, there is an issue with 64-bit
atomics on ARM that was making Clang mis-compile a lot of code, including
Clang itself.

http://llvm.org/bugs/show_bug.cgi?id=15429

Attached is a patch proposed by Benjamin with the corrections to the test.

I'm not an expert on how Clang lowers C11 atomics, but the resulting IR
seems correct, and after self-hosting Clang with this patch, it managed to
pass all test-suite (as before), which is a good indication that the patch
does fix the problem.

Please review!

cheers,
--renato

Attachment: atomic_arm.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to