test: regenerate test snapshots with gentests

This commit is contained in:
Li Jie
2025-01-08 15:19:38 +08:00
parent 255cce4f9a
commit 60c430abad
112 changed files with 8989 additions and 8989 deletions

View File

@@ -1,17 +1,17 @@
; ModuleID = 'github.com/goplus/llgo/cl/_testpy/math'
source_filename = "github.com/goplus/llgo/cl/_testpy/math"
; ModuleID = 'github.com/goplus/llgo/compiler/cl/_testpy/math'
source_filename = "github.com/goplus/llgo/compiler/cl/_testpy/math"
@"github.com/goplus/llgo/cl/_testpy/math.init$guard" = global i1 false, align 1
@"github.com/goplus/llgo/compiler/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 @"github.com/goplus/llgo/cl/_testpy/math.init"() {
define void @"github.com/goplus/llgo/compiler/cl/_testpy/math.init"() {
_llgo_0:
%0 = load i1, ptr @"github.com/goplus/llgo/cl/_testpy/math.init$guard", align 1
%0 = load i1, ptr @"github.com/goplus/llgo/compiler/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 @"github.com/goplus/llgo/cl/_testpy/math.init$guard", align 1
store i1 true, ptr @"github.com/goplus/llgo/compiler/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