Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/coreclr/jit/compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6048,7 +6048,16 @@ int Compiler::compCompile(CORINFO_MODULE_HANDLE classPtr,
// but it requires moving the whole set of logic down into compCompileHelper after compInitOptions has
// run and we're going to end up exiting early if JIT_FLAG_ALT_JIT and opts.altJit don't match anyways

if (!info.compMatchedVM || compileFlags->IsSet(JitFlags::JIT_FLAG_ALT_JIT))
bool enableAvailableIsas = !info.compMatchedVM;

#ifdef DEBUG
if (compileFlags->IsSet(JitFlags::JIT_FLAG_ALT_JIT) && JitConfig.RunAltJitCode() == 0)
{
enableAvailableIsas = true;
}
#endif // DEBUG

if (enableAvailableIsas)
{
CORINFO_InstructionSetFlags instructionSetFlags;

Expand Down
Loading