llvm / llvm/llvm-project

[POST MCJIT] Deprecate and remove TargetMachine::addPassesToEmitMC.

Open
#174,692 1 comment 0 reactions 1 assignee Claimed by @lhames View on GitHub
orcjit
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

From its comment `TargetMachine::addPassesToEmitMC` was intended to be JIT-specific:
```c++
/// Add passes to the specified pass manager to get machine code emitted with
/// the MCJIT. This method returns true if machine code is not supported. It
/// fills the MCContext Ctx pointer which can be used to build custom
/// MCStreamer.
```

Once MCJIT is deprecated and removed we should also deprecate and then remove this method.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.