Skip to content

Commit

Permalink
Don't use imaging mode in code_llvm yet
Browse files Browse the repository at this point in the history
  • Loading branch information
pchintalapudi committed Jun 16, 2023
1 parent fc0050e commit 0c46b6a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/aotcompile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2083,8 +2083,11 @@ void jl_get_llvmf_defn_impl(jl_llvmf_dump_t* dump, jl_method_instance_t *mi, siz
jl_codegen_params_t output(*ctx, std::move(target_info.first), std::move(target_info.second));
output.world = world;
output.params = &params;
// Force imaging mode for names of pointers
output.imaging = true;
output.imaging = imaging_default();
// This would be nice, but currently it causes some assembly regressions that make printed output
// differ very significantly from the actual non-imaging mode code.
// // Force imaging mode for names of pointers
// output.imaging = true;
// Force debug info for introspection
output.debug_enabled = true;
auto decls = jl_emit_code(m, mi, src, jlrettype, output);
Expand Down

0 comments on commit 0c46b6a

Please sign in to comment.