#Fix 1615 Replace llvm.readcyclecounter with cntvct_el0 on arm64

This commit is contained in:
gingerBill
2022-03-12 10:48:31 +00:00
parent c12c7d5370
commit f907516cbd
2 changed files with 16 additions and 7 deletions
+1 -1
View File
@@ -1779,7 +1779,7 @@ LLVMValueRef llvm_get_inline_asm(LLVMTypeRef func_type, String const &str, Strin
return LLVMGetInlineAsm(func_type,
cast(char *)str.text, cast(size_t)str.len,
cast(char *)clobbers.text, cast(size_t)clobbers.len,
/*HasSideEffects*/true, /*IsAlignStack*/false,
has_side_effects, is_align_stack,
dialect
#if LLVM_VERSION_MAJOR >= 13
, /*CanThrow*/false