summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2020-01-05 17:07:57 -0500
committerBrian Gesiak <modocache@gmail.com>2020-01-05 18:26:30 -0500
commit83a9321f60d837e4d41c9c08c09ab9e4c171ada4 (patch)
tree3e6b427e58af48efc3f591308ece551115a8cb29 /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parent445f4d2310e751a6ab18f84b1d4ad13037ffd819 (diff)
downloadbcm5719-llvm-83a9321f60d837e4d41c9c08c09ab9e4c171ada4.tar.gz
bcm5719-llvm-83a9321f60d837e4d41c9c08c09ab9e4c171ada4.zip
[Coroutines] Remove corresponding phi values when apply simplifyTerminatorLeadingToRet
Summary: In addMustTailToCoroResumes, we set musttail on those resume instructions that are followed by a ret instruction. This is done by simplifyTerminatorLeadingToRet which replace a sequence of branches leading to a ret with a clone of the ret. However it forgets to remove corresponding PHI values that come from basic block of replaced branch, and may cause jumpthreading pass hangs (https://bugs.llvm.org/show_bug.cgi?id=43720) This patch fix this issue Test Plan: cppcoro library with O3+flto check-llvm Reviewers: modocache, GorNishanov, lewissbaker Reviewed By: modocache Subscribers: mehdi_amini, EricWF, hiraditya, dexonsmith, jfb, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D71826 Patch by junparser (JunMa)!
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud