diff options
author | Johannes Doerfert <jdoerfert@anl.gov> | 2019-08-05 23:22:05 +0000 |
---|---|---|
committer | Johannes Doerfert <jdoerfert@anl.gov> | 2019-08-05 23:22:05 +0000 |
commit | e83f303938a5aa2f43ba1dbe024b16fec06f20cc (patch) | |
tree | e29d54da9aa01be3edf1b9eebd4c2df5d8562369 /llvm/docs/tutorial/index.rst | |
parent | a5c25c5d469f0f9999610bb391bd156eb70e7975 (diff) | |
download | bcm5719-llvm-e83f303938a5aa2f43ba1dbe024b16fec06f20cc.tar.gz bcm5719-llvm-e83f303938a5aa2f43ba1dbe024b16fec06f20cc.zip |
[Attributor] Deduce the "no-return" attribute for functions
A function is "no-return" if we never reach a return instruction, either
because there are none or the ones that exist are dead.
Test have been adjusted:
- either noreturn was added, or
- noreturn was avoided by modifying the code.
The new noreturn_{sync,async} test make sure we do handle invoke
instructions with a noreturn (and potentially nowunwind) callee
correctly, even in the presence of potential asynchronous exceptions.
llvm-svn: 367948
Diffstat (limited to 'llvm/docs/tutorial/index.rst')
0 files changed, 0 insertions, 0 deletions