tvm_tirx::codegen::llvm

Function target_enabled

Source
pub fn target_enabled(target: &str) -> Result<bool>
Expand description

Whether LLVM can create a target machine for the target string target, such as "llvm -mtriple=aarch64-linux-gnu" (codegen.llvm_target_enabled).