1 ; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 ; RUN: llc -stop-after=finalize-isel -mtriple=x86_64-unknown < %s 2>&1 | FileCheck %s
4 ; CHECK-LABEL: name: const
5 ; CHECK: bb.0 (%ir-block.0):
6 ; CHECK: [[MOV32ri:%[0-9]+]]:gr32 = MOV32ri 1
7 ; CHECK: $eax = COPY [[MOV32ri]]
13 define i32 @fold(i32 %x) {
14 ; CHECK-LABEL: name: fold
15 ; CHECK: bb.0 (%ir-block.0):
16 ; CHECK: liveins: $edi
17 ; CHECK: [[COPY:%[0-9]+]]:gr32 = COPY $edi
18 ; CHECK: [[COPY1:%[0-9]+]]:gr32 = COPY [[COPY]]
19 ; CHECK: $eax = COPY [[COPY1]]