]> granicus.if.org Git - clang/commit
Bugfix for Codegen of atomic load/store/other ops.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 15 Dec 2014 05:25:25 +0000 (05:25 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 15 Dec 2014 05:25:25 +0000 (05:25 +0000)
commit0a5560daf35f8b79ff6c29d144c710895c696d3d
tree8d41c53efd8651c0dfffec1399567aefd41eb4cc
parent112bf9ae753f5443c8d8548638ea2a3025afe6d2
Bugfix for Codegen of atomic load/store/other ops.
Currently clang fires assertions on x86-64 on any atomic operations for long double operands. Patch fixes codegen for such operations.
Differential Revision: http://reviews.llvm.org/D6499

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224230 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/TargetInfo.h
lib/CodeGen/CGAtomic.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGen/c11atomics.c
test/CodeGen/x86-atomic-long_double.c [new file with mode: 0644]