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