31 lines · plain
1# REQUIRES: x86-registered-target2# RUN: llvm-ir2vec entities --mode=mir %s -o - | FileCheck %s3 4# CHECK: AAA 05# CHECK: VirtReg_TILE {{[0-9]+}}6 7--- |8 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"9 target triple = "x86_64-unknown-linux-gnu"10 11 define dso_local noundef i32 @test_function(i32 noundef %a) {12 entry:13 ret i32 %a14 }15...16---17name: test_function18alignment: 1619tracksRegLiveness: true20registers:21 - { id: 0, class: gr32 }22liveins:23 - { reg: '$edi', virtual-reg: '%0' }24body: |25 bb.0.entry:26 liveins: $edi27 28 %0:gr32 = COPY $edi29 $eax = COPY %030 RET 0, $eax31