diff options
author | Justin Lebar <jlebar@google.com> | 2016-02-22 17:51:35 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-02-22 17:51:35 +0000 |
commit | 7bf9187abbdbe5c789528bc4961a56baed2eb303 (patch) | |
tree | 8c176fadbfe52f6d854c4edb03fc9dfa8112164e /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | f62b165a0403434999cf77e265ce3dafce8dddcc (diff) | |
download | llvm-7bf9187abbdbe5c789528bc4961a56baed2eb303.zip llvm-7bf9187abbdbe5c789528bc4961a56baed2eb303.tar.gz llvm-7bf9187abbdbe5c789528bc4961a56baed2eb303.tar.bz2 |
[attrs] Handle convergent CallSites.
Summary:
Previously we had a notion of convergent functions but not of convergent
calls. This is insufficient to correctly analyze calls where the target
is unknown, e.g. indirect calls.
Now a call is convergent if it targets a known-convergent function, or
if it's explicitly marked as convergent. As usual, we can remove
convergent where we can prove that no convergent operations are
performed in the call.
Reviewers: chandlerc, jingyue
Subscribers: hfinkel, jhen, tra, llvm-commits
Differential Revision: http://reviews.llvm.org/D17317
llvm-svn: 261544
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions