tvm_tirx::codegen::llvm

Function is_valid_cpu

Source
pub fn is_valid_cpu(cpu: &str, triple: &str) -> Result<bool>
Expand description

Whether LLVM knows the CPU cpu for the target triple triple (codegen.llvm_is_valid_cpu).