[mono] Separate LLVM optimization and compilation into two separate functions. (...
authorimhameed <imhameed@microsoft.com>
Wed, 2 Jun 2021 14:21:33 +0000 (07:21 -0700)
committerGitHub <noreply@github.com>
Wed, 2 Jun 2021 14:21:33 +0000 (07:21 -0700)
commitc103e2a445a1e2a523f14936ecadf521f56f182f
tree4ee445d875404859e84d3cdaaed384e54657a44e
parente3069cf7fe809aa429370a2b3fa3b05810850fc5
[mono] Separate LLVM optimization and compilation into two separate functions. (#53536)

Dump optimized IR before attempting compilation to machine code. Makes
more information available when debugging.

Split from https://github.com/dotnet/runtime/pull/53132.
src/mono/mono/mini/llvm-jit.cpp
src/mono/mono/mini/llvm-jit.h
src/mono/mono/mini/mini-llvm.c