diff options
author | Tim Northover <tnorthover@apple.com> | 2014-04-09 06:55:39 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-04-09 06:55:39 +0000 |
commit | 7db3c63bb2d7fc98592cf341f413e68184c39636 (patch) | |
tree | 5ff4211271cc036f3dd040933ef0aad7f7e4dfb8 /test/CodeGen/ARM64 | |
parent | d640febcc81546b67c753603653ed70a710e6873 (diff) | |
download | llvm-7db3c63bb2d7fc98592cf341f413e68184c39636.tar.gz llvm-7db3c63bb2d7fc98592cf341f413e68184c39636.tar.bz2 llvm-7db3c63bb2d7fc98592cf341f413e68184c39636.tar.xz |
ARM64: add pattern for <1 x i64> custom not node.
This should fix PR19367.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM64')
-rw-r--r-- | test/CodeGen/ARM64/vcmp.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/ARM64/vcmp.ll b/test/CodeGen/ARM64/vcmp.ll index f9275b825f..16ff177a05 100644 --- a/test/CodeGen/ARM64/vcmp.ll +++ b/test/CodeGen/ARM64/vcmp.ll @@ -225,3 +225,12 @@ define <1 x i64> @fcmlt_d(<1 x double> %A, <1 x double> %B) nounwind { %mask = sext <1 x i1> %tst to <1 x i64> ret <1 x i64> %mask } + +define <1 x i64> @cmnez_d(<1 x i64> %A) nounwind { +; CHECK-LABEL: cmnez_d: +; CHECK: cmeq d[[EQ:[0-9]+]], d0, #0 +; CHECK: not.8b v0, v[[EQ]] + %tst = icmp ne <1 x i64> %A, zeroinitializer + %mask = sext <1 x i1> %tst to <1 x i64> + ret <1 x i64> %mask +} |