aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2019-12-26 08:00:00 -0500
committerBrian Gesiak <modocache@gmail.com>2020-02-19 00:57:14 -0500
commit72961071f35a7da7e67ee3c6056b19900e8f28cc (patch)
tree8b58659d4490c45179da81a0d099dc241f8a0cd0 /llvm/lib/CodeGen/MachineFunction.cpp
parent5a187d8ed11fc85365d0d3452a5001a913b2dc4b (diff)
downloadllvm-72961071f35a7da7e67ee3c6056b19900e8f28cc.zip
llvm-72961071f35a7da7e67ee3c6056b19900e8f28cc.tar.gz
llvm-72961071f35a7da7e67ee3c6056b19900e8f28cc.tar.bz2
[Coroutines][5/6] Add coroutine passes to pipeline
Summary: Depends on https://reviews.llvm.org/D71901. The fifth in a series of patches that ports the LLVM coroutines passes to the new pass manager infrastructure. The first 4 patches allow users to run coroutine passes by invoking, for example `opt -passes=coro-early`. However, most of LLVM's tests for coroutines use an option, `opt -enable-coroutines`, which adds all 4 coroutine passes to the appropriate legacy pass manager extension points. This patch does the same, but using the new pass manager: when coroutine features are enabled and the new pass manager is being used, this adds the new-pass-manager-compliant coroutine passes to the pass builder's pipeline. This allows us to run all coroutine tests using the new pass manager (besides those that use the coroutine retcon ABI used by the Swift compiler, which is not yet supported in the new pass manager). Reviewers: GorNishanov, lewissbaker, chandlerc, junparser, wenlei Subscribers: wenlei, EricWF, Prazek, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D71902
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions