Please check line 512 in llvm\lib\CodeGen\AtomicExpandPass.cpp (Most of code populate uses before doing any replacement) -- WBR, Eugeny Grishul -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150628/566bef4d/attachment.html>