diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-04-23 21:57:46 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-04-23 21:57:46 +0000 |
commit | 1646851b87cfe131eb79f2a1302aa5db201bacb6 (patch) | |
tree | 89b19333c6c72f73f22dd4720d26b4fdae998231 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | |
parent | eea9da5921de502e342469a06856198486e3995d (diff) | |
download | bcm5719-llvm-1646851b87cfe131eb79f2a1302aa5db201bacb6.tar.gz bcm5719-llvm-1646851b87cfe131eb79f2a1302aa5db201bacb6.zip |
[CGP] Look through bitcasts when duplicating returns for tail calls
The simple case of:
```
int *callee();
void *caller(void *a) {
if (a == NULL)
return callee();
return a;
}
```
would generate a regular call instead of a tail call because we don't
look through the bitcast of the call to `callee` when duplicating the
return blocks.
Differential Revision: https://reviews.llvm.org/D60837
llvm-svn: 359041
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions