diff options
author | Tim Northover <tnorthover@apple.com> | 2014-03-13 19:25:48 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-03-13 19:25:48 +0000 |
commit | 9c177223bc6c31a260387abb4e4975f16f15fdf9 (patch) | |
tree | ec469190349e5782cbbc57245422c08fba9fe1e8 /llvm/lib/Object/IRObjectFile.cpp | |
parent | 498589c3fdb0827207a8709912ed8c9d78a41166 (diff) | |
download | llvm-9c177223bc6c31a260387abb4e4975f16f15fdf9.zip llvm-9c177223bc6c31a260387abb4e4975f16f15fdf9.tar.gz llvm-9c177223bc6c31a260387abb4e4975f16f15fdf9.tar.bz2 |
CodeGen: make use of weaker failure orders on cmpxchg.
This makes Clang take advantage of the recent IR addition of a
"failure" memory ordering requirement. As with the "success" ordering,
we try to emit just a single version if the expression is constant,
but fall back to runtime detection (to allow optimisation across
function-call boundaries).
rdar://problem/15996804
llvm-svn: 203837
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions