Use LLVMGetHostCPUFeatures instead of stdsimd

This commit is contained in:
Andrew Sun 2021-01-07 23:25:19 -05:00
parent bf80159050
commit bc4c5bac40
3 changed files with 13 additions and 10 deletions

View file

@ -1708,6 +1708,10 @@ extern "C" {
PM: &PassManager<'_>,
);
pub fn LLVMGetHostCPUFeatures() -> *mut c_char;
pub fn LLVMDisposeMessage(message: *mut c_char);
// Stuff that's in llvm-wrapper/ because it's not upstream yet.
/// Opens an object file.