From 94c6269f60686039b5305dc05dffd4b8ce950f24 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Mon, 25 Sep 2017 21:55:27 +0000 Subject: [PATCH] [ARM] Fix tests for vcvt+store to return void. This is what I meant to do in r314161; I didn't realize I'd messed up because the generated assembly is currently identical. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314163 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/vcvt.ll | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/CodeGen/ARM/vcvt.ll b/test/CodeGen/ARM/vcvt.ll index 6fad4a308d3..884a1a47ae2 100644 --- a/test/CodeGen/ARM/vcvt.ll +++ b/test/CodeGen/ARM/vcvt.ll @@ -380,7 +380,7 @@ define i32 @multi_uint(double %c, i32* nocapture %p, i32* nocapture %q) { ret i32 %conv } -define i32 @double_to_sint_store(double %c, i32* nocapture %p) { +define void @double_to_sint_store(double %c, i32* nocapture %p) { ; CHECK-LABEL: double_to_sint_store: ; CHECK: @ BB#0: ; CHECK-NEXT: vmov d16, r0, r1 @@ -390,10 +390,10 @@ define i32 @double_to_sint_store(double %c, i32* nocapture %p) { ; CHECK-NEXT: mov pc, lr %conv = fptosi double %c to i32 store i32 %conv, i32* %p, align 4 - ret i32 %conv + ret void } -define i32 @double_to_uint_store(double %c, i32* nocapture %p) { +define void @double_to_uint_store(double %c, i32* nocapture %p) { ; CHECK-LABEL: double_to_uint_store: ; CHECK: @ BB#0: ; CHECK-NEXT: vmov d16, r0, r1 @@ -403,10 +403,10 @@ define i32 @double_to_uint_store(double %c, i32* nocapture %p) { ; CHECK-NEXT: mov pc, lr %conv = fptoui double %c to i32 store i32 %conv, i32* %p, align 4 - ret i32 %conv + ret void } -define i32 @float_to_sint_store(float %c, i32* nocapture %p) { +define void @float_to_sint_store(float %c, i32* nocapture %p) { ; CHECK-LABEL: float_to_sint_store: ; CHECK: @ BB#0: ; CHECK-NEXT: vmov s0, r0 @@ -416,10 +416,10 @@ define i32 @float_to_sint_store(float %c, i32* nocapture %p) { ; CHECK-NEXT: mov pc, lr %conv = fptosi float %c to i32 store i32 %conv, i32* %p, align 4 - ret i32 %conv + ret void } -define i32 @float_to_uint_store(float %c, i32* nocapture %p) { +define void @float_to_uint_store(float %c, i32* nocapture %p) { ; CHECK-LABEL: float_to_uint_store: ; CHECK: @ BB#0: ; CHECK-NEXT: vmov s0, r0 @@ -429,5 +429,5 @@ define i32 @float_to_uint_store(float %c, i32* nocapture %p) { ; CHECK-NEXT: mov pc, lr %conv = fptoui float %c to i32 store i32 %conv, i32* %p, align 4 - ret i32 %conv + ret void } -- 2.40.0