summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-11-08 17:57:09 +0000
committerVedant Kumar <vsk@apple.com>2018-11-08 17:57:09 +0000
commitd6699423f17fa7b0fd8415c3e1733b711f24f5b6 (patch)
tree37a6a8ac36dcc4e79d46b8f25a92cfe7f75a390b /llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
parent7383b4fba43c77e803927d5aaac4ec5f2ae7f6b9 (diff)
downloadbcm5719-llvm-d6699423f17fa7b0fd8415c3e1733b711f24f5b6.tar.gz
bcm5719-llvm-d6699423f17fa7b0fd8415c3e1733b711f24f5b6.zip
[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 llvm-svn: 346421
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud