Commit c13e1808 by Ben Clayton

LLVM CoroSplit: Add pass dependency on CallGraphWrapperPass

This dependency was not explicitly declared, and just so happened to be implicitly pulled in on x64. It isn't pulled in on arm though. Upstream fix: https://reviews.llvm.org/D63144 Bug: b/134790440 Change-Id: I4a2f97a3e93ddfd5068213f5f4c4ffc6da8689f1 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/32652Tested-by: 's avatarBen Clayton <bclayton@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent 77d42cd4
......@@ -873,7 +873,12 @@ struct CoroSplit : public CallGraphSCCPass {
char CoroSplit::ID = 0;
INITIALIZE_PASS(
INITIALIZE_PASS_BEGIN(
CoroSplit, "coro-split",
"Split coroutine into a set of functions driving its state machine", false,
false)
INITIALIZE_PASS_DEPENDENCY(CallGraphWrapperPass)
INITIALIZE_PASS_END(
CoroSplit, "coro-split",
"Split coroutine into a set of functions driving its state machine", false,
false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment