diff options
author | Jay Foad <jay.foad@gmail.com> | 2019-07-22 07:19:44 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2019-07-22 07:19:44 +0000 |
commit | 298500ae33199835522770ced94366663bb830d3 (patch) | |
tree | eae2790e07cc3d41fd6bb688575ba019855dc8a4 /clang/lib/Sema/SemaDeclCXX.cpp | |
parent | 3d72a58981e97b6da44ea550eec468be83e947d3 (diff) | |
download | bcm5719-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