diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-08-30 20:02:30 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-08-30 20:02:30 +0000 |
commit | 973a074345add36c046c0f0bfea0156a532ab479 (patch) | |
tree | 3f3ffb69284b82d87c7df80b420d5b52a8bb6672 /test/Bitcode | |
parent | 663e339e208a9d54d3731618cb484e8a07c33335 (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.ll | 14 | ||||
-rw-r--r-- | test/Bitcode/neon-intrinsics.ll.bc | bin | 3796 -> 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 Binary files differindex bc01eb540e..0441aa1669 100644 --- a/test/Bitcode/neon-intrinsics.ll.bc +++ b/test/Bitcode/neon-intrinsics.ll.bc |