brintos

brintos / llvm-project-archived public Read only

0
0
Text · 754 B · 33a4ecd Raw
15 lines · plain
1; RUN: llc -mtriple=aarch64-linux-gnu -verify-machineinstrs -mattr=+sme -pass-remarks-missed='regalloc' %s -o - 2>&1 | FileCheck %s2 3; We should have both spill and reload for %arg.4 5; CHECK: remark: <unknown>:0:0: 2 spills 1.500000e+00 total spills cost 3 reloads 1.500000e+00 total reloads cost generated in function6define <vscale x 2 x i1> @streaming_compatible_with_predicate_vectors(<vscale x 2 x i1> %arg) "aarch64_pstate_sm_compatible" nounwind #0 {7  %res = call <vscale x 2 x i1> @normal_callee_predicate_vec_arg(<vscale x 2 x i1> %arg)8  %and = and <vscale x 2 x i1> %res, %arg9  ret <vscale x 2 x i1> %and10}11 12declare <vscale x 2 x i1> @normal_callee_predicate_vec_arg(<vscale x 2 x i1>)13 14attributes #0 = { nounwind "target-features"="+sve" }15