unstick r373657

Revision 373657

Date:
2019/10/03 20:21:23
Author:
jsji
Revision Log:
[AArch64][SVE] Move the testcase into CodeGen dir

https://reviews.llvm.org/rL373600 added an AArch64 testcase in top dir
which should be moved to Codegen dir.
Files:

Legend:

 
Added
 
Removed
 
Modified
  • llvm/trunk/test/CodeGen/AArch64/sve-fp.ll

     
    1 ; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s
    2
    3 define <vscale x 8 x half> @fadd_h(<vscale x 8 x half> %a, <vscale x 8 x half> %b) {
    4 ; CHECK-LABEL: fadd_h:
    5 ; CHECK: fadd z0.h, z0.h, z1.h
    6 ; CHECK-NEXT: ret
    7 %res = fadd <vscale x 8 x half> %a, %b
    8 ret <vscale x 8 x half> %res
    9 }
    10
    11 define <vscale x 4 x float> @fadd_s(<vscale x 4 x float> %a, <vscale x 4 x float> %b) {
    12 ; CHECK-LABEL: fadd_s:
    13 ; CHECK: fadd z0.s, z0.s, z1.s
    14 ; CHECK-NEXT: ret
    15 %res = fadd <vscale x 4 x float> %a, %b
    16 ret <vscale x 4 x float> %res
    17 }
    18
    19 define <vscale x 2 x double> @fadd_d(<vscale x 2 x double> %a, <vscale x 2 x double> %b) {
    20 ; CHECK-LABEL: fadd_d:
    21 ; CHECK: fadd z0.d, z0.d, z1.d
    22 ; CHECK-NEXT: ret
    23 %res = fadd <vscale x 2 x double> %a, %b
    24 ret <vscale x 2 x double> %res
    25 }
  • monorepo-root/trunk/sve-fp.ll

     
    1 ; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s
    2
    3 define <vscale x 8 x half> @fadd_h(<vscale x 8 x half> %a, <vscale x 8 x half> %b) {
    4 ; CHECK-LABEL: fadd_h:
    5 ; CHECK: fadd z0.h, z0.h, z1.h
    6 ; CHECK-NEXT: ret
    7 %res = fadd <vscale x 8 x half> %a, %b
    8 ret <vscale x 8 x half> %res
    9 }
    10
    11 define <vscale x 4 x float> @fadd_s(<vscale x 4 x float> %a, <vscale x 4 x float> %b) {
    12 ; CHECK-LABEL: fadd_s:
    13 ; CHECK: fadd z0.s, z0.s, z1.s
    14 ; CHECK-NEXT: ret
    15 %res = fadd <vscale x 4 x float> %a, %b
    16 ret <vscale x 4 x float> %res
    17 }
    18
    19 define <vscale x 2 x double> @fadd_d(<vscale x 2 x double> %a, <vscale x 2 x double> %b) {
    20 ; CHECK-LABEL: fadd_d:
    21 ; CHECK: fadd z0.d, z0.d, z1.d
    22 ; CHECK-NEXT: ret
    23 %res = fadd <vscale x 2 x double> %a, %b
    24 ret <vscale x 2 x double> %res
    25 }