test: regenerate test fixtures
This commit is contained in:
@@ -32,8 +32,8 @@ _llgo_0:
|
||||
call void @"github.com/goplus/llgo/internal/runtime.init"()
|
||||
call void @main.init()
|
||||
%2 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64 8)
|
||||
call void @"sync/atomic.StoreInt64"(ptr %2, i64 100)
|
||||
%3 = call i64 @"sync/atomic.LoadInt64"(ptr %2)
|
||||
store atomic i64 100, ptr %2 seq_cst, align 4
|
||||
%3 = load atomic i64, ptr %2 seq_cst, align 4
|
||||
call void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @0, i64 6 })
|
||||
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 32)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.PrintInt"(i64 %3)
|
||||
@@ -87,10 +87,6 @@ declare void @"github.com/goplus/llgo/internal/runtime.init"()
|
||||
|
||||
declare ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64)
|
||||
|
||||
declare void @"sync/atomic.StoreInt64"(ptr, i64)
|
||||
|
||||
declare i64 @"sync/atomic.LoadInt64"(ptr)
|
||||
|
||||
declare void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String")
|
||||
|
||||
declare void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8)
|
||||
|
||||
@@ -12,7 +12,7 @@ source_filename = "main"
|
||||
|
||||
define void @main.f({ double, double } %0, { double, double } %1) {
|
||||
_llgo_0:
|
||||
%2 = call double @"math/cmplx.Abs"({ double, double } %0)
|
||||
%2 = call double @cabs({ double, double } %0)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @0, i64 10 })
|
||||
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 32)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.PrintFloat"(double %2)
|
||||
@@ -54,7 +54,7 @@ _llgo_0:
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
declare double @"math/cmplx.Abs"({ double, double })
|
||||
declare double @cabs({ double, double })
|
||||
|
||||
declare void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String")
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ _llgo_0:
|
||||
store ptr %1, ptr @__llgo_argv, align 8
|
||||
call void @"github.com/goplus/llgo/internal/runtime.init"()
|
||||
call void @main.init()
|
||||
%2 = call double @math.Sqrt(double 2.000000e+00)
|
||||
%2 = call double @sqrt(double 2.000000e+00)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.PrintFloat"(double %2)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 10)
|
||||
%3 = call double @math.Abs(double -1.200000e+00)
|
||||
@@ -41,7 +41,7 @@ declare void @math.init()
|
||||
|
||||
declare void @"github.com/goplus/llgo/internal/runtime.init"()
|
||||
|
||||
declare double @math.Sqrt(double)
|
||||
declare double @sqrt(double)
|
||||
|
||||
declare void @"github.com/goplus/llgo/internal/runtime.PrintFloat"(double)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user