31 lines · plain
1# RUN: llc -mtriple=aarch64 -run-pass=machine-outliner -verify-machineinstrs -stats %s -o - 2>&1 | FileCheck %s2# REQUIRES: asserts3 4# Check that instruction mapping stats work.5 6# We ought to map all of the instructions (5 of them) as legal, and then7# terminate the string with a single illegal character. Debug instructions are8# always invisible, and don't contribute to the length of the string.9 10# CHECK: 1 machine-outliner - Unoutlinable instructions mapped + number of sentinel values11# CHECK: 1 machine-outliner - Invisible instructions skipped during mapping12# CHECK: 5 machine-outliner - Outlinable instructions mapped13# CHECK: 1 machine-outliner - Sentinel values inserted during mapping14# CHECK: 6 machine-outliner - Total number of instructions mapped and saved to mapping vector15 16...17---18name: test19tracksRegLiveness: true20machineFunctionInfo:21 hasRedZone: false22body: |23 bb.0:24 liveins: $lr25 $x0 = ORRXri $xzr, 126 $x1 = ORRXri $xzr, 127 $x2 = ORRXri $xzr, 128 DBG_VALUE $x3, $noreg29 $x3 = ORRXri $xzr, 130 RET undef $lr31