diff options
| author | Juergen Ributzka <juergen@apple.com> | 2014-09-15 23:47:57 +0000 |
|---|---|---|
| committer | Juergen Ributzka <juergen@apple.com> | 2014-09-15 23:47:57 +0000 |
| commit | f693787ed060a7b80ff8e55a3c1a7c4dd1e94121 (patch) | |
| tree | ed6ff7e1dd6e9a68600a26e1ee4295ea73ec37cf | |
| parent | de47c47cc17488f9aacaa69ccc4b893de321a27c (diff) | |
| download | bcm5719-llvm-f693787ed060a7b80ff8e55a3c1a7c4dd1e94121.tar.gz bcm5719-llvm-f693787ed060a7b80ff8e55a3c1a7c4dd1e94121.zip | |
[FastISel][AArch64] Add missing test case for previous commit.
This adds the missing test case for the previous commit:
Allow handling of vectors during return lowering for little endian machines.
Sorry for the noise.
llvm-svn: 217847
| -rw-r--r-- | llvm/test/CodeGen/AArch64/fast-isel-vret.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AArch64/fast-isel-vret.ll b/llvm/test/CodeGen/AArch64/fast-isel-vret.ll new file mode 100644 index 00000000000..9ad92273d3a --- /dev/null +++ b/llvm/test/CodeGen/AArch64/fast-isel-vret.ll @@ -0,0 +1,9 @@ +; RUN: llc -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort -verify-machineinstrs < %s | FileCheck %s + +; Test that we don't abort fast-isle for ret +define <8 x i8> @ret_v8i8(<8 x i8> %a, <8 x i8> %b) { +; CHECK-LABEL: ret_v8i8 +; CHECK: add.8b v0, v0, v1 + %1 = add <8 x i8> %a, %b + ret <8 x i8> %1 +} |

