rust/compiler/rustc_llvm
Matthias Krüger ecc0615967
Rollup merge of #111274 - cuviper:print-target-cpus, r=Mark-Simulacrum
Expand the LLVM coverage of `--print target-cpus`

We've been relying on a custom patch to add `MCSubtargetInfo::getCPUTable`
for `rustc --print target-cpus`, and just printing that it's not supported
on external LLVM builds. LLVM `main` now has `getAllProcessorDescriptions`
that can replace ours, so now we try to use that. In addition, the fallback
path can at least print the native and default cpu options.

There were also some mismatches in the function signatures here between
`LLVM_RUSTLLVM` and otherwise; this is now mitigated by sharing these
functions and only using cpp to adjust the function bodies.
2023-05-06 23:32:03 +02:00
..
llvm-wrapper Rollup merge of #111274 - cuviper:print-target-cpus, r=Mark-Simulacrum 2023-05-06 23:32:03 +02:00
src Rollup merge of #96971 - zhaixiaojuan:master, r=wesleywiser 2023-04-11 20:28:45 -07:00
build.rs Enable loongarch64 LLVM target 2023-04-04 17:05:08 +08:00
Cargo.toml Remove build_helper 2022-03-05 15:31:22 +01:00