diff options
| author | Johannes Doerfert <jdoerfert@anl.gov> | 2019-06-27 19:29:48 +0000 |
|---|---|---|
| committer | Johannes Doerfert <jdoerfert@anl.gov> | 2019-06-27 19:29:48 +0000 |
| commit | 6ed459fd41c8ff3ccf1b0a4ac5416fba39f1856a (patch) | |
| tree | 228a3552d37ff1d32bda47b5125c87a5bff45566 /llvm/lib/Target | |
| parent | 1cf9e72cbc019bd33771900f349d1fc651d682be (diff) | |
| download | bcm5719-llvm-6ed459fd41c8ff3ccf1b0a4ac5416fba39f1856a.tar.gz bcm5719-llvm-6ed459fd41c8ff3ccf1b0a4ac5416fba39f1856a.zip | |
Use "willreturn" in isGuaranteedToTransferExecutionToSuccessor
The `willreturn` function attribute guarantees that a function call will
come back to the call site if the call is also known not to throw.
Therefore, this attribute can be used in
`isGuaranteedToTransferExecutionToSuccessor`.
Patch by Hideto Ueno (@uenoku)
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63372
llvm-svn: 364580
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions

