aboutsummaryrefslogtreecommitdiff
path: root/test/Bitcode
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-08-30 20:02:30 +0000
committerBob Wilson <bob.wilson@apple.com>2010-08-30 20:02:30 +0000
commit973a074345add36c046c0f0bfea0156a532ab479 (patch)
tree3f3ffb69284b82d87c7df80b420d5b52a8bb6672 /test/Bitcode
parent663e339e208a9d54d3731618cb484e8a07c33335 (diff)
Remove NEON vmovn intrinsic, replacing it with vector truncate operations.
Auto-upgrade the old intrinsic and update tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112507 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bitcode')
-rw-r--r--test/Bitcode/neon-intrinsics.ll14
-rw-r--r--test/Bitcode/neon-intrinsics.ll.bcbin3796 -> 4116 bytes
2 files changed, 14 insertions, 0 deletions
diff --git a/test/Bitcode/neon-intrinsics.ll b/test/Bitcode/neon-intrinsics.ll
index d6d03d0970..eafa94bc8e 100644
--- a/test/Bitcode/neon-intrinsics.ll
+++ b/test/Bitcode/neon-intrinsics.ll
@@ -76,6 +76,20 @@
; CHECK: zext <4 x i16>
; CHECK-NEXT: sub <4 x i32>
+; vmovn should be auto-upgraded to trunc
+
+; CHECK: vmovni16
+; CHECK-NOT: arm.neon.vmovn.v8i8
+; CHECK: trunc <8 x i16>
+
+; CHECK: vmovni32
+; CHECK-NOT: arm.neon.vmovn.v4i16
+; CHECK: trunc <4 x i32>
+
+; CHECK: vmovni64
+; CHECK-NOT: arm.neon.vmovn.v2i32
+; CHECK: trunc <2 x i64>
+
; vld* and vst* intrinsic calls need an alignment argument (defaulted to 1)
; CHECK: vld1i8
diff --git a/test/Bitcode/neon-intrinsics.ll.bc b/test/Bitcode/neon-intrinsics.ll.bc
index bc01eb540e..0441aa1669 100644
--- a/test/Bitcode/neon-intrinsics.ll.bc
+++ b/test/Bitcode/neon-intrinsics.ll.bc
Binary files differ