internal/cabi: support riscv64/riscv32 target-abi

This commit is contained in:
visualfc
2025-09-15 21:18:23 +08:00
parent 8bfe133bee
commit db28648d29
142 changed files with 93780 additions and 2580 deletions

View File

@@ -61,7 +61,7 @@ define dso_local i64 @basic_float64(i64 noundef %0) #0 {
}
; Function Attrs: noinline nounwind optnone
define dso_local ptr @basic_uintptr(i32 noundef %0) #0 {
define dso_local ptr @basic_pointer(i32 noundef %0) #0 {
%2 = alloca ptr, align 4
%3 = alloca ptr, align 4
%4 = inttoptr i32 %0 to ptr