Merging r258471:
[oota-llvm.git] / test / CodeGen / AArch64 / fast-isel-vret.ll
1 ; RUN: llc -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort=1 -verify-machineinstrs < %s | FileCheck %s
2
3 ; Test that we don't abort fast-isle for ret
4 define <8 x i8> @ret_v8i8(<8 x i8> %a, <8 x i8> %b) {
5 ; CHECK-LABEL: ret_v8i8
6 ; CHECK:       add.8b v0, v0, v1
7   %1 = add <8 x i8> %a, %b
8   ret <8 x i8> %1
9 }