diff options
| author | Eli Friedman <efriedma@codeaurora.org> | 2017-09-25 21:55:27 +0000 |
|---|---|---|
| committer | Eli Friedman <efriedma@codeaurora.org> | 2017-09-25 21:55:27 +0000 |
| commit | 48853741addb55861b8271726006559ce7c95548 (patch) | |
| tree | 0d9bb8254e40998bf3cb0414738f68f23eec2167 | |
| parent | 92fa15d01c5febec93ea076e0af0823498a60748 (diff) | |
| download | bcm5719-llvm-48853741addb55861b8271726006559ce7c95548.tar.gz bcm5719-llvm-48853741addb55861b8271726006559ce7c95548.zip | |
[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.
llvm-svn: 314163
| -rw-r--r-- | llvm/test/CodeGen/ARM/vcvt.ll | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/ARM/vcvt.ll b/llvm/test/CodeGen/ARM/vcvt.ll index 6fad4a308d3..884a1a47ae2 100644 --- a/llvm/test/CodeGen/ARM/vcvt.ll +++ b/llvm/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 } |

