]> granicus.if.org Git - clang/commit
Fix atomic libcall.
authorLogan Chien <tzuhsiang.chien@gmail.com>
Wed, 26 Mar 2014 17:35:01 +0000 (17:35 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Wed, 26 Mar 2014 17:35:01 +0000 (17:35 +0000)
commitbedde6562c6f728d2b68867b73eacd3c43da3280
tree9cc033b755513ee9b3235f24e4008f0fbba31eb3
parent447549aa0bae6fe171214e1fcd8f330ff87aa9b0
Fix atomic libcall.

This commit fixes a cast instruction assertion failure
due to the incompatible type cast.  This will only happen when
the target requires atomic libcalls.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204834 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGAtomic.cpp
test/CodeGen/atomic-ops-libcall.c [new file with mode: 0644]