test: regenerate test fixtures

This commit is contained in:
Li Jie
2024-11-26 13:21:01 +08:00
parent fa1ad20d5d
commit ad48325dff
16 changed files with 36 additions and 72 deletions

View File

@@ -1,17 +1,17 @@
; ModuleID = 'math'
source_filename = "math"
; ModuleID = 'github.com/goplus/llgo/cl/_testpy/math'
source_filename = "github.com/goplus/llgo/cl/_testpy/math"
@"math.init$guard" = global i1 false, align 1
@"github.com/goplus/llgo/cl/_testpy/math.init$guard" = global i1 false, align 1
@__llgo_py.math = linkonce global ptr null, align 8
@0 = private unnamed_addr constant [5 x i8] c"math\00", align 1
define void @math.init() {
define void @"github.com/goplus/llgo/cl/_testpy/math.init"() {
_llgo_0:
%0 = load i1, ptr @"math.init$guard", align 1
%0 = load i1, ptr @"github.com/goplus/llgo/cl/_testpy/math.init$guard", align 1
br i1 %0, label %_llgo_2, label %_llgo_1
_llgo_1: ; preds = %_llgo_0
store i1 true, ptr @"math.init$guard", align 1
store i1 true, ptr @"github.com/goplus/llgo/cl/_testpy/math.init$guard", align 1
%1 = load ptr, ptr @__llgo_py.math, align 8
%2 = icmp ne ptr %1, null
br i1 %2, label %_llgo_2, label %_llgo_3