brintos

brintos / llvm-project-archived public Read only

0
0
Text · 842 B · 1437e97 Raw
32 lines · plain
1# RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass none -o - %s | FileCheck %s2# This test ensures that the MIR parser can parse multiple register machine3# operands before '='.4 5# This tests that a MIR file with no vregs does not get altered by mir-canon.6# RUN: llc -mtriple=aarch64 -o - -run-pass mir-canonicalizer -verify-machineinstrs %s7 8--- |9 10  declare void @foo()11 12  define void @trivial_fp_func() {13  entry:14    call void @foo()15    ret void16  }17 18...19---20name:            trivial_fp_func21body: |22  bb.0.entry:23    liveins: $lr, $fp, $lr, $fp24 25    $sp = frame-setup STPXpre killed $fp, killed $lr, $sp, -226    $fp = frame-setup ADDXri $sp, 0, 027    BL @foo, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit-def $sp28  ; CHECK: $sp, $fp, $lr = LDPXpost $sp, 229    $sp, $fp, $lr = LDPXpost $sp, 230    RET_ReallyLR31...32