Instead of rejecting the CPU out right with no information, try
to diagnose that it doesn't match the triple.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D147986
[RISCV] Print a better error message when a rv32 CPU is used on rv64 and vice versa. ClosedPublic Authored by craig.topper on Apr 10 2023, 7:14 PM.
Details Summary Instead of rejecting the CPU out right with no information, try
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 11 2023, 4:23 AM craig.topper added a parent revision: D147978: [RISCV] Remove getCPUFeaturesExceptStdExt..Apr 11 2023, 10:16 AM This revision was landed with ongoing or failed builds.Apr 11 2023, 10:42 AM Closed by commit rG88d631198255: [RISCV] Print a better error message when a rv32 CPU is used on rv64 and vice… (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 512312 clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/lib/Driver/ToolChains/Arch/RISCV.cpp
clang/test/Driver/riscv-cpus.c
|
clang-format not found in user’s local PATH; not linting file.