# RUN: not llc -march=x86-64 -start-after machine-scheduler -stop-after machine-scheduler -o /dev/null %s 2>&1 | FileCheck %s

--- |

  define i32 @test(i32 %a, i32 %b) {
  body:
    %c = mul i32 %a, %b
    ret i32 %c
  }

...
---
name:            test
tracksRegLiveness: true
registers:
  - { id: 0, class: gr32 }
  # CHECK: [[@LINE+1]]:48: expected a named register
  - { id: 1, class: gr32, preferred-register: '%0' }
  - { id: 2, class: gr32, preferred-register: '%edi' }
body: |
  bb.0.body:
    liveins: %edi, %esi

    %1 = COPY %esi
    %2 = COPY %edi
    %2 = IMUL32rr %2, %1, implicit-def dead %eflags
    %eax = COPY %2
    RETQ killed %eax
...