mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 02:10:06 +00:00
#Fix 1615 Replace llvm.readcyclecounter with cntvct_el0 on arm64
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user