brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 2c22257 Raw
33 lines · plain
1# RUN: llc -mtriple=aarch64 -run-pass=machine-outliner -verify-machineinstrs %s -o - | FileCheck %s2 3# The test checks whether the compiler updates the side effect of function @OUTLINED_FUNCTION_0 by adding the use of register x20.4 5--- |6  declare void @spam() local_unnamed_addr7  define void @baz() optsize minsize noredzone { ret void }8...9---10name:            baz11tracksRegLiveness: true12body:             |13  bb.0:14    liveins: $x0, $x2015 16    $x0 = COPY renamable $x2017    BL @spam, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $x0, implicit-def $sp, implicit-def $x018    renamable $x21 = COPY $x019 20    $x0 = COPY renamable $x2021    BL @spam, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $x0, implicit-def $sp, implicit-def $x022    renamable $x22 = COPY $x023 24    $x0 = COPY killed renamable $x2025    BL @spam, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $x0, implicit-def $sp, implicit-def $x026    renamable $x3 = COPY $x027 28    RET_ReallyLR29 30...31 32# CHECK: BL @OUTLINED_FUNCTION_0, {{.*}}, implicit $x20{{.*}}33