Skip to content

Commit 055dd28

Browse files
committed
Remove no longer needed LLVM_RUSTLLVM check
The bundled version now uses the LLVM 17 code path.
1 parent 8c1c7d3 commit 055dd28

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,6 @@ extern "C" void LLVMRustPrintTargetCPUs(LLVMTargetMachineRef TM,
322322

323323
#if LLVM_VERSION_GE(17, 0)
324324
const ArrayRef<SubtargetSubTypeKV> CPUTable = MCInfo->getAllProcessorDescriptions();
325-
#elif defined(LLVM_RUSTLLVM)
326-
const ArrayRef<SubtargetSubTypeKV> CPUTable = MCInfo->getCPUTable();
327325
#else
328326
Buf << "Full target CPU help is not supported by this LLVM version.\n\n";
329327
SubtargetSubTypeKV TargetCPUKV = { TargetCPU, {{}}, {{}} };

0 commit comments

Comments
 (0)