]> granicus.if.org Git - clang/commit
CodeGen: Make atomic operations play nice with address spaces
authorDavid Majnemer <david.majnemer@gmail.com>
Sat, 22 Nov 2014 10:44:12 +0000 (10:44 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sat, 22 Nov 2014 10:44:12 +0000 (10:44 +0000)
commit8cb8ee2541a6deb194474faab7819b9dabdf46f4
tree628730ffb55a8ba7ef33249827e77500c11b0699
parent10a165463557429935b094ee3f0581ea73bb734c
CodeGen: Make atomic operations play nice with address spaces

We were being a little sloppy with our pointer/address space casts.

This fixes PR21643.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222615 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGAtomic.cpp
test/CodeGen/atomic-ops.c