commit | da31f7b67012692bb019e53b70df1f8f0c388bcd | [log] [tgz] |
---|---|---|
author | Vedant Kumar <vsk@apple.com> | Thu Nov 08 17:57:09 2018 +0000 |
committer | Vedant Kumar <vsk@apple.com> | Thu Nov 08 17:57:09 2018 +0000 |
tree | fbb38d88d8c2c5c7081cf23594ccf9c539a6fcad | |
parent | b665487bbc7061d156615946971d949314df9ff0 [diff] |
[CodeExtractor] Mark functions noreturn when applicable This eliminates the outlining penalty for llvm.trap/unreachable, because callers no longer have to emit cleanup/ret instructions after calling an outlined `noreturn` function. rdar://45523626 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346421 91177308-0d34-0410-b5e6-96231b3b80d8