summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorRobin Morisset <morisset@google.com>2014-09-23 20:59:25 +0000
committerRobin Morisset <morisset@google.com>2014-09-23 20:59:25 +0000
commit6dbbbc28b0fd9f7a6f4f1eb5a5a875d8d8cf074a (patch)
tree1d138cfbd9a87ea13d29662ca2dbca52ff4ebc4d /clang/lib/Sema/SemaDecl.cpp
parent2212996936810028f78d957ce5c7ebe354b3f808 (diff)
downloadbcm5719-llvm-6dbbbc28b0fd9f7a6f4f1eb5a5a875d8d8cf074a.tar.gz
bcm5719-llvm-6dbbbc28b0fd9f7a6f4f1eb5a5a875d8d8cf074a.zip
[X86] Make wide loads be managed by AtomicExpand
Summary: AtomicExpand already had logic for expanding wide loads and stores on LL/SC architectures, and for expanding wide stores on CmpXchg architectures, but not for wide loads on CmpXchg architectures. This patch fills this hole, and makes use of this new feature in the X86 backend. Only one functionnal change: we now lose the SynchScope attribute. It is regrettable, but I have another patch that I will submit soon that will solve this for all of AtomicExpand (it seemed better to split it apart as it is a different concern). Test Plan: make check-all (lots of tests for this functionality already exist) Reviewers: jfb Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5404 llvm-svn: 218332
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud