diff options
| author | Nikita Popov <npopov@redhat.com> | 2023-07-20 12:41:14 +0200 | 
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2023-08-07 20:35:55 +0200 | 
| commit | 055dd282c5d17af5495ad125a08ec6b9d66062f1 (patch) | |
| tree | 15fbdd3bf4f6d6a89946f6fb826584069ea98bbc /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 8c1c7d37b29d72bad1f218798d121074918e9616 (diff) | |
| download | rust-055dd282c5d17af5495ad125a08ec6b9d66062f1.tar.gz rust-055dd282c5d17af5495ad125a08ec6b9d66062f1.zip | |
Remove no longer needed LLVM_RUSTLLVM check
The bundled version now uses the LLVM 17 code path.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp index a986fa28f78..06f28f432ba 100644 --- a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp @@ -322,8 +322,6 @@ extern "C" void LLVMRustPrintTargetCPUs(LLVMTargetMachineRef TM, #if LLVM_VERSION_GE(17, 0) const ArrayRef<SubtargetSubTypeKV> CPUTable = MCInfo->getAllProcessorDescriptions(); -#elif defined(LLVM_RUSTLLVM) - const ArrayRef<SubtargetSubTypeKV> CPUTable = MCInfo->getCPUTable(); #else Buf << "Full target CPU help is not supported by this LLVM version.\n\n"; SubtargetSubTypeKV TargetCPUKV = { TargetCPU, {{}}, {{}} }; | 
