Remove no longer needed LLVM_RUSTLLVM check

The bundled version now uses the LLVM 17 code path.
This commit is contained in:
Nikita Popov 2023-07-20 12:41:14 +02:00 committed by Nikita Popov
parent 8c1c7d37b2
commit 055dd282c5

View file

@ -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, {{}}, {{}} };