AArch64 & ARM: remove undefined behaviour from some tests.
llvm-svn: 209880
diff --git a/llvm/test/CodeGen/AArch64/arm64-convert-v2f64-v2i32.ll b/llvm/test/CodeGen/AArch64/arm64-convert-v2f64-v2i32.ll
index d862b1e..1ea47ad 100644
--- a/llvm/test/CodeGen/AArch64/arm64-convert-v2f64-v2i32.ll
+++ b/llvm/test/CodeGen/AArch64/arm64-convert-v2f64-v2i32.ll
@@ -4,10 +4,10 @@
; CHECK: fcvtzs.2d
; CHECK: xtn.2s
; CHECK: ret
-define void @fptosi_1() nounwind noinline ssp {
+define void @fptosi_1(<2 x double> %in, <2 x i32>* %addr) nounwind noinline ssp {
entry:
- %0 = fptosi <2 x double> undef to <2 x i32>
- store <2 x i32> %0, <2 x i32>* undef, align 8
+ %0 = fptosi <2 x double> %in to <2 x i32>
+ store <2 x i32> %0, <2 x i32>* %addr, align 8
ret void
}
@@ -15,10 +15,10 @@
; CHECK: fcvtzu.2d
; CHECK: xtn.2s
; CHECK: ret
-define void @fptoui_1() nounwind noinline ssp {
+define void @fptoui_1(<2 x double> %in, <2 x i32>* %addr) nounwind noinline ssp {
entry:
- %0 = fptoui <2 x double> undef to <2 x i32>
- store <2 x i32> %0, <2 x i32>* undef, align 8
+ %0 = fptoui <2 x double> %in to <2 x i32>
+ store <2 x i32> %0, <2 x i32>* %addr, align 8
ret void
}