brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 5c54ce2 Raw
58 lines · plain
1# RUN: llc -simplify-mir -run-pass=machine-outliner -verify-machineinstrs %s -o - | FileCheck %s2# CHECK-NOT: OUTLINED_FUNCTION3--- |4  target triple = "arm64----"5  6  @g = external global i64, align 87  8  define void @foo() #0 {9    ret void10  }11  12  define void @foo2() #0 {13    ret void14  }15  16  define void @foo3() #0 {17    ret void18  }19  20  attributes #0 = { nounwind noredzone }21 22...23---24name:            foo25alignment:       426tracksRegLiveness: true27body:             |28  bb.0 (%ir-block.0):29    liveins: $x27, $lr30    $x27 = ADRP target-flags(aarch64-page, aarch64-got) @g31    $lr = ADRP target-flags(aarch64-page, aarch64-got) @g32    RET undef $lr33 34...35---36name:            foo237alignment:       438tracksRegLiveness: true39body:             |40  bb.0 (%ir-block.0):41    liveins: $x27, $lr42    $x27 = ADRP target-flags(aarch64-page, aarch64-got) @g43    $lr = ADRP target-flags(aarch64-page, aarch64-got) @g44    RET undef $lr45 46...47---48name:            foo349alignment:       450tracksRegLiveness: true51body:             |52  bb.0 (%ir-block.0):53    liveins: $x27, $lr54    $x27 = ADRP target-flags(aarch64-page, aarch64-got) @g55    $lr = ADRP target-flags(aarch64-page, aarch64-got) @g56    RET undef $lr57...58