1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=ALL
9 define i8 @test2(i8 %a) {
14 define float @test3() {
24 - { id: 0, class: gpr, preferred-register: '' }
31 ; ALL-LABEL: name: test
32 ; ALL: [[DEF:%[0-9]+]]:gr8 = IMPLICIT_DEF
33 ; ALL: $al = COPY [[DEF]]
34 ; ALL: RET 0, implicit $al
35 %0(s8) = G_IMPLICIT_DEF
46 - { id: 0, class: gpr, preferred-register: '' }
47 - { id: 1, class: gpr, preferred-register: '' }
48 - { id: 2, class: gpr, preferred-register: '' }
57 ; ALL-LABEL: name: test2
58 ; ALL: [[COPY:%[0-9]+]]:gr8 = COPY $dil
59 ; ALL: [[DEF:%[0-9]+]]:gr8 = IMPLICIT_DEF
60 ; ALL: [[ADD8rr:%[0-9]+]]:gr8 = ADD8rr [[COPY]], [[DEF]], implicit-def $eflags
61 ; ALL: $al = COPY [[ADD8rr]]
62 ; ALL: RET 0, implicit $al
64 %1(s8) = G_IMPLICIT_DEF
75 tracksRegLiveness: true
77 - { id: 1, class: vecr }
80 ; ALL-LABEL: name: test3
81 ; ALL: [[DEF:%[0-9]+]]:vr128 = IMPLICIT_DEF
82 ; ALL: $xmm0 = COPY [[DEF]]
83 ; ALL: RET 0, implicit $xmm0
84 %1:vecr(s128) = G_IMPLICIT_DEF
85 $xmm0 = COPY %1:vecr(s128)