brintos

brintos / llvm-project-archived public Read only

0
0
Text · 428 B · ae950f0 Raw
13 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=aarch64 -mattr=+sve | FileCheck %s3 4define <vscale x 2 x i64> @foo(<vscale x 2 x i64> %a) {5; CHECK-LABEL: foo:6; CHECK:       // %bb.0:7; CHECK-NEXT:    sub z0.d, z0.d, #2 // =0x28; CHECK-NEXT:    ret9 %b = sub <vscale x 2 x i64> %a, splat (i64 1)10 %c = sub <vscale x 2 x i64> %b, splat (i64 1)11 ret <vscale x 2 x i64> %c12}13