aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-07-01 21:44:59 +0000
committerTim Northover <tnorthover@apple.com>2014-07-01 21:44:59 +0000
commitdf58625e3c7a7ab7daac7afca76bcb176b471062 (patch)
tree0c5dc7240d9bf065abe3d803893f55344a4f733f /clang/lib/Frontend/CompilerInvocation.cpp
parent813dab2fc6e093d396981de9a87d2fb696908bdd (diff)
downloadllvm-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