[llvm] r314163 - [ARM] Fix tests for vcvt+store to return void.
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 14:55:27 PDT 2017
Author: efriedma
Date: Mon Sep 25 14:55:27 2017
New Revision: 314163
URL: http://llvm.org/viewvc/llvm-project?rev=314163&view=rev
Log:
[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.
Modified:
llvm/trunk/test/CodeGen/ARM/vcvt.ll
Modified: llvm/trunk/test/CodeGen/ARM/vcvt.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/vcvt.ll?rev=314163&r1=314162&r2=314163&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/vcvt.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/vcvt.ll Mon Sep 25 14:55:27 2017
@@ -380,7 +380,7 @@ define i32 @multi_uint(double %c, i32* n
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
; 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
; 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
; 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
; CHECK-NEXT: mov pc, lr
%conv = fptoui float %c to i32
store i32 %conv, i32* %p, align 4
- ret i32 %conv
+ ret void
}
More information about the llvm-commits
mailing list