From 756f7990e733ed866b43e5d444cac4bcb8514b61 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Mon, 30 Oct 2023 09:16:35 +0000 Subject: [PATCH] shrink bw in unit test to make it faster --- .../alive-tv/memory/umul_overflow-fail.srctgt.ll | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/alive-tv/memory/umul_overflow-fail.srctgt.ll b/tests/alive-tv/memory/umul_overflow-fail.srctgt.ll index 5f0a3f378..9867f4ee8 100644 --- a/tests/alive-tv/memory/umul_overflow-fail.srctgt.ll +++ b/tests/alive-tv/memory/umul_overflow-fail.srctgt.ll @@ -1,15 +1,15 @@ -define void @src(i32 %a, i32 %b, ptr %p) { - %mul = call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %a, i32 %b) - store {i32, i1} %mul, ptr %p +define void @src(i16 %a, i16 %b, ptr %p) { + %mul = call { i16, i1 } @llvm.umul.with.overflow.i16(i16 %a, i16 %b) + store {i16, i1} %mul, ptr %p ret void } -define void @tgt(i32 %a, i32 %b, ptr %p) { - %mul = call { i32, i1 } @llvm.smul.with.overflow.i32(i32 %a, i32 %b) - store {i32, i1} %mul, ptr %p +define void @tgt(i16 %a, i16 %b, ptr %p) { + %mul = call { i16, i1 } @llvm.smul.with.overflow.i16(i16 %a, i16 %b) + store {i16, i1} %mul, ptr %p ret void } ; ERROR: Mismatch in memory -declare { i32, i1 } @llvm.umul.with.overflow.i32(i32, i32) nounwind memory(none) willreturn -declare { i32, i1 } @llvm.smul.with.overflow.i32(i32, i32) nounwind memory(none) willreturn +declare { i16, i1 } @llvm.umul.with.overflow.i16(i16, i16) nounwind memory(none) willreturn +declare { i16, i1 } @llvm.smul.with.overflow.i16(i16, i16) nounwind memory(none) willreturn