summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-04-23 21:57:46 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-04-23 21:57:46 +0000
commit1646851b87cfe131eb79f2a1302aa5db201bacb6 (patch)
tree89b19333c6c72f73f22dd4720d26b4fdae998231 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parenteea9da5921de502e342469a06856198486e3995d (diff)
downloadbcm5719-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/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud