diff options
| author | paperchalice <liujunchang97@outlook.com> | 2024-06-02 09:12:33 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-02 09:12:33 +0800 |
| commit | d2cdc8ab45d74f8691f73cb5a2b8c431585cd449 (patch) | |
| tree | 0aa5cbc5236038b0496289d33c037714bf767c32 /llvm/lib/Target/MSP430/MSP430TargetMachine.cpp | |
| parent | 0310f7f2d0c56a5697710251cec9803cbf7b4d56 (diff) | |
[NewPM][CodeGen] Port selection dag isel to new pass manager (#83567)
Port selection dag isel to new pass manager.
Only `AMDGPU` and `X86` support new pass version. `-verify-machineinstrs` in new pass manager belongs to verify instrumentation, it is enabled by default.
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430TargetMachine.cpp')
| -rw-r--r-- | llvm/lib/Target/MSP430/MSP430TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp b/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp index ed0fcf7110b7..f307c3765150 100644 --- a/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp +++ b/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp @@ -26,7 +26,7 @@ extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMSP430Target() { // Register the target. RegisterTargetMachine<MSP430TargetMachine> X(getTheMSP430Target()); PassRegistry &PR = *PassRegistry::getPassRegistry(); - initializeMSP430DAGToDAGISelPass(PR); + initializeMSP430DAGToDAGISelLegacyPass(PR); } static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { |
