summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2019-07-22 07:19:44 +0000
committerJay Foad <jay.foad@gmail.com>2019-07-22 07:19:44 +0000
commit298500ae33199835522770ced94366663bb830d3 (patch)
treeeae2790e07cc3d41fd6bb688575ba019855dc8a4 /clang/lib/Sema/SemaDeclCXX.cpp
parent3d72a58981e97b6da44ea550eec468be83e947d3 (diff)
downloadbcm5719-llvm-298500ae33199835522770ced94366663bb830d3.tar.gz
bcm5719-llvm-298500ae33199835522770ced94366663bb830d3.zip
[AMDGPU] Save some work when an atomic op has no uses
Summary: In the atomic optimizer, save doing a bunch of work and generating a bunch of dead IR in the fairly common case where the result of an atomic op (i.e. the value that was in memory before the atomic op was performed) is not used. NFC. Reviewers: arsenm, dstuttard, tpr Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, t-tye, hiraditya, jfb, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64981 llvm-svn: 366667
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud