From e76278cfd73fbe66b4b177a2c0a00f02c5ec2319 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Thu, 25 Dec 2025 22:50:06 +0100 Subject: [PATCH] Fix test --- test/test_suite/builtins/int_to_mask.c3t | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/test_suite/builtins/int_to_mask.c3t b/test/test_suite/builtins/int_to_mask.c3t index ab82592bb..2cfb9d135 100644 --- a/test/test_suite/builtins/int_to_mask.c3t +++ b/test/test_suite/builtins/int_to_mask.c3t @@ -19,10 +19,8 @@ define void @test.test() #0 { entry: %x = alloca <8 x i8>, align 8 %y = alloca <32 x i8>, align 32 - %0 = sext <8 x i1> bitcast (<1 x i8> - store <8 x i8> %0, ptr %x, align 8 - %1 = sext <32 x i1> bitcast (<1 x i32> - store <32 x i8> %1, ptr %y, align 32 + store <8 x i8> + store <32 x i8> ret void } @@ -30,9 +28,9 @@ define void @test.test2() #0 { entry: %x = alloca i8, align 1 %x2 = alloca i16, align 2 - %y = alloca i128, align 16 + %y = alloca i128, store i8 bitcast (<8 x i1> to i8), ptr %x, align 1 store i16 0, ptr %x2, align 2 - store i128 0, ptr %y, align 16 + store i128 0, ptr %y ret void }