diff options
author | Tim Northover <tnorthover@apple.com> | 2014-07-01 21:44:59 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-07-01 21:44:59 +0000 |
commit | df58625e3c7a7ab7daac7afca76bcb176b471062 (patch) | |
tree | 0c5dc7240d9bf065abe3d803893f55344a4f733f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 813dab2fc6e093d396981de9a87d2fb696908bdd (diff) | |
download | llvm-df58625e3c7a7ab7daac7afca76bcb176b471062.zip llvm-df58625e3c7a7ab7daac7afca76bcb176b471062.tar.gz llvm-df58625e3c7a7ab7daac7afca76bcb176b471062.tar.bz2 |
X86: delegate expanding atomic libcalls to generic code.
On targets without cmpxchg16b or cmpxchg8b, the borderline atomic
operations were slipping through the gaps.
X86AtomicExpand.cpp was delegating to ISelLowering. Generic
ISelLowering was delegating to X86ISelLowering and X86ISelLowering was
asserting. The correct behaviour is to expand to a libcall, preferably
in generic ISelLowering.
This can be achieved by X86ISelLowering deciding it doesn't want the
faff after all.
llvm-svn: 212134
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions