aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-02-17 17:46:41 +0000
committerJustin Lebar <jlebar@google.com>2016-02-17 17:46:41 +0000
commit58535b16f6ce8865de4f2a56fe1b650603274423 (patch)
tree8f53a097f9be6bdbc571c49b0bfba6e88f5a89eb /clang/lib/Frontend/CompilerInvocation.cpp
parentb2e8020948c0025c85b681b71102950ffd33b39e (diff)
downloadllvm-58535b16f6ce8865de4f2a56fe1b650603274423.zip
llvm-58535b16f6ce8865de4f2a56fe1b650603274423.tar.gz
llvm-58535b16f6ce8865de4f2a56fe1b650603274423.tar.bz2
Update langref to indicate that calls may be convergent.
Summary: As previously written, only functions could be convergent. But calls need to have a notion of convergence as well. To see why this is important, consider an indirect call. We may or may not want to disable optimizations around it and behave as though we're calling a convergent function -- it depends on the semantics of the language we're compiling. Thus the need for this attr on the call. Reviewers: jingyue, joker.eph Subscribers: llvm-commits, tra, jhen, arsenm, chandlerc, hfinkel, resistor Differential Revision: http://reviews.llvm.org/D17314 llvm-svn: 261111
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions