aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2022-03-22 16:51:36 -0700
committerArthur Eubanks <aeubanks@google.com>2022-03-23 11:03:26 -0700
commit9bd66b312c3e0e539ac6c85c1bacd17bdc731614 (patch)
tree9f82bd05f97d10dccba24dfefb5bbc2ec950ec16 /lldb/packages/Python/lldbsuite/test/configuration.py
parente6ead19b774718113007ecb1a4449d7af0cbcfeb (diff)
downloadllvm-9bd66b312c3e0e539ac6c85c1bacd17bdc731614.zip
llvm-9bd66b312c3e0e539ac6c85c1bacd17bdc731614.tar.gz
llvm-9bd66b312c3e0e539ac6c85c1bacd17bdc731614.tar.bz2
[PassManager][Coroutine] Run passes under -O0 conditionally and run GlobalDCE
CoroSplit lowers various coroutine intrinsics. It's a CGSCC pass and CGSCC passes don't run on unreachable functions. Normally GlobalDCE will come along and delete unreachable functions, but we don't run GlobalDCE under -O0, so an unreachable function with coroutine intrinsics may never have CoroSplit run on it. This patch adds GlobalDCE when coroutines intrinsics are present. It also now runs all coroutine passes conditional when coroutine intrinsics are present. This should also solve the -O0 regression reported in D105877 due to LazyCallGraph construction. Fixes https://github.com/llvm/llvm-project/issues/54117 Reviewed By: ChuanqiXu Differential Revision: https://reviews.llvm.org/D122275
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions