Return true if CPU is a recognized RISC-V CPU for the given bitness.
Declared in <llvm/TargetParser/RISCVTargetParser.h>
bool
parseCPU(
StringRef CPU,
bool IsRV64);
True if CPU is known and matches IsRV64.
| Name | Description |
|---|---|
| CPU | CPU name to validate. |
| IsRV64 | True to require an RV64 CPU; false for RV32. |