1 # RUN: llc -march=x86-64 -run-pass none -o - %s | FileCheck %s
2 # This test ensures that the MIR parser parses simple register allocation hints
7 define i32 @test(i32 %a, i32 %b) {
16 tracksRegLiveness: true
18 # CHECK-NEXT: - { id: 0, class: gr32, preferred-register: '' }
19 # CHECK-NEXT: - { id: 1, class: gr32, preferred-register: '$esi' }
20 # CHECK-NEXT: - { id: 2, class: gr32, preferred-register: '$edi' }
22 - { id: 0, class: gr32 }
23 - { id: 1, class: gr32, preferred-register: '$esi' }
24 - { id: 2, class: gr32, preferred-register: '$edi' }
31 %2 = IMUL32rr %2, %1, implicit-def dead $eflags