swr: Crash in llvm within FetchJit::Create()
LLVM 9.0
Platform: macOS 10.15.4
I have a crash with the following stack trace in LLVM. We internally use LLVM 9 for another home-made compiler, thus not tried with another version.
Crash occurs at line 304. Previous runs of FunctionPassManager on setupPasses works fine. Must be one of the following passes in question:
//@todo Haven't touched these either. Need to remove some of these and add others.
optPasses.add(createCFGSimplificationPass());
optPasses.add(createEarlyCSEPass());
optPasses.add(createInstructionCombiningPass());
optPasses.add(createConstantPropagationPass());
optPasses.add(createSCCPPass());
optPasses.add(createAggressiveDCEPass());
optPasses.run(*fetch);