diff options
| author | Fedor Indutny <fedor@indutny.com> | 2018-03-03 21:40:14 +0000 |
|---|---|---|
| committer | Fedor Indutny <fedor@indutny.com> | 2018-03-03 21:40:14 +0000 |
| commit | f9e09c1dd06c3d277b16ce9e3e06c6882bc26efd (patch) | |
| tree | 716ac15c418e9faa39be264daae0cb5eb11e3878 /clang/lib/CodeGen/CGDecl.cpp | |
| parent | 1a3901c69fdd34ad979e6c1e65dfd05fe3c34826 (diff) | |
| download | bcm5719-llvm-f9e09c1dd06c3d277b16ce9e3e06c6882bc26efd.tar.gz bcm5719-llvm-f9e09c1dd06c3d277b16ce9e3e06c6882bc26efd.zip | |
[CallSiteSplitting] properly split musttail calls
Summary:
`musttail` calls can't be naively splitted. The split blocks must
include not only the call instruction itself, but also (optional)
`bitcast` and `return` instructions that follow it.
Clone `bitcast` and `ret`, place them into the split blocks, and
remove the tail block when done.
Reviewers: junbuml, mcrosier, davidxl, davide, fhahn
Reviewed By: fhahn
Subscribers: JDevlieghere, llvm-commits
Differential Revision: https://reviews.llvm.org/D43729
llvm-svn: 326666
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
0 files changed, 0 insertions, 0 deletions

