cl: regenerate test snapshots

This commit is contained in:
Li Jie
2025-02-16 18:08:34 +08:00
parent 7be79d81f9
commit 96d6c00815
6 changed files with 2013 additions and 2589 deletions

View File

@@ -9,8 +9,8 @@ source_filename = "github.com/goplus/llgo/compiler/cl/_testrt/namedslice"
@"_llgo_github.com/goplus/llgo/compiler/cl/_testrt/namedslice.MyBytes" = linkonce global ptr null, align 8
@0 = private unnamed_addr constant [53 x i8] c"github.com/goplus/llgo/compiler/cl/_testrt/namedslice", align 1
@1 = private unnamed_addr constant [7 x i8] c"MyBytes", align 1
@_llgo_byte = linkonce global ptr null, align 8
@"[]_llgo_byte" = linkonce global ptr null, align 8
@_llgo_uint8 = linkonce global ptr null, align 8
@"[]_llgo_uint8" = linkonce global ptr null, align 8
@2 = private unnamed_addr constant [9 x i8] c"bad slice", align 1
@_llgo_string = linkonce global ptr null, align 8
@@ -87,29 +87,29 @@ _llgo_1: ; preds = %_llgo_0
br label %_llgo_2
_llgo_2: ; preds = %_llgo_1, %_llgo_0
%3 = load ptr, ptr @_llgo_byte, align 8
%3 = load ptr, ptr @_llgo_uint8, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %_llgo_3, label %_llgo_4
_llgo_3: ; preds = %_llgo_2
%5 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.Basic"(i64 40)
store ptr %5, ptr @_llgo_byte, align 8
store ptr %5, ptr @_llgo_uint8, align 8
br label %_llgo_4
_llgo_4: ; preds = %_llgo_3, %_llgo_2
%6 = load ptr, ptr @_llgo_byte, align 8
%7 = load ptr, ptr @"[]_llgo_byte", align 8
%6 = load ptr, ptr @_llgo_uint8, align 8
%7 = load ptr, ptr @"[]_llgo_uint8", align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %_llgo_5, label %_llgo_6
_llgo_5: ; preds = %_llgo_4
%9 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.Basic"(i64 40)
%10 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.SliceOf"(ptr %9)
store ptr %10, ptr @"[]_llgo_byte", align 8
store ptr %10, ptr @"[]_llgo_uint8", align 8
br label %_llgo_6
_llgo_6: ; preds = %_llgo_5, %_llgo_4
%11 = load ptr, ptr @"[]_llgo_byte", align 8
%11 = load ptr, ptr @"[]_llgo_uint8", align 8
br i1 %2, label %_llgo_7, label %_llgo_8
_llgo_7: ; preds = %_llgo_6