Skip to content

Commit

Permalink
Update for top-of-tree LLVM changes (#7663)
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-johnson committed Jun 26, 2023
1 parent 1e3431c commit c28a00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LLVM_Output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,13 +389,13 @@ void emit_file(const llvm::Module &module_in, Internal::LLVMOStream &out,
// in Codegen_LLVM.cpp, but since this seems to be have added in error,
// we're just going to elide it for LLVM >= 17.0
pass_manager.add(llvm::createStripDeadDebugInfoPass());
#endif

// Enable symbol rewriting. This allows code outside libHalide to
// use symbol rewriting when compiling Halide code (for example, by
// using cl::ParseCommandLineOption and then passing the appropriate
// rewrite options via -mllvm flags).
pass_manager.add(llvm::createRewriteSymbolsPass());
#endif

// Override default to generate verbose assembly.
target_machine->Options.MCOptions.AsmVerbose = true;
Expand Down

0 comments on commit c28a00f

Please sign in to comment.