• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: not llc -march=x86-64 -start-after machine-scheduler -stop-after machine-scheduler -o /dev/null %s 2>&1 | FileCheck %s
2
3--- |
4
5  define i32 @test(i32 %a, i32 %b) {
6  body:
7    %c = mul i32 %a, %b
8    ret i32 %c
9  }
10
11...
12---
13name:            test
14tracksRegLiveness: true
15registers:
16  - { id: 0, class: gr32 }
17  # CHECK: [[@LINE+1]]:48: expected a named register
18  - { id: 1, class: gr32, preferred-register: '%0' }
19  - { id: 2, class: gr32, preferred-register: '%edi' }
20body: |
21  bb.0.body:
22    liveins: %edi, %esi
23
24    %1 = COPY %esi
25    %2 = COPY %edi
26    %2 = IMUL32rr %2, %1, implicit-def dead %eflags
27    %eax = COPY %2
28    RETQ killed %eax
29...
30