Update std atomic check and simd compatibility check for arc compiler (#3716)

This commit is contained in:
TianlongLiang
2024-08-16 10:12:23 +08:00
committed by GitHub
parent b845e2ede4
commit 63df2cf02d
3 changed files with 8 additions and 3 deletions

View File

@ -176,6 +176,9 @@ aot_check_simd_compatibility(const char *arch_c_str, const char *cpu_c_str)
else if (targetArch == llvm::Triple::aarch64) {
return subTargetInfo->checkFeatures("+neon");
}
else if (targetArch == llvm::Triple::arc) {
return true;
}
else {
return false;
}