brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 65e5084 Raw
26 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=aarch64 -mattr=+sme --pass-remarks-analysis=sme -o /dev/null < %s 2>&1 | FileCheck %s3 4declare void @private_za_callee()5declare float @llvm.cos.f32(float)6 7define void @test_lazy_save_1_callee() nounwind "aarch64_inout_za" {8; CHECK: remark: <unknown>:0:0: call from 'test_lazy_save_1_callee' to 'private_za_callee' sets up a lazy save for ZA9  call void @private_za_callee()10  ret void11}12 13define void @test_lazy_save_2_callees() nounwind "aarch64_inout_za" {14; CHECK: remark: <unknown>:0:0: call from 'test_lazy_save_2_callees' to 'private_za_callee' sets up a lazy save for ZA15  call void @private_za_callee()16; CHECK: remark: <unknown>:0:0: call from 'test_lazy_save_2_callees' to 'private_za_callee' sets up a lazy save for ZA17  call void @private_za_callee()18  ret void19}20 21define float @test_lazy_save_expanded_intrinsic(float %a) nounwind "aarch64_inout_za" {22; CHECK: remark: <unknown>:0:0: call from 'test_lazy_save_expanded_intrinsic' to 'cosf' sets up a lazy save for ZA23  %res = call float @llvm.cos.f32(float %a)24  ret float %res25}26