• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o - %s | FileCheck %s
2# This test ensures that the MIR parser parses X86 registers correctly.
3
4--- |
5
6  define i32 @foo() {
7  entry:
8    ret i32 0
9  }
10
11...
12---
13# CHECK: name: foo
14name:            foo
15body: |
16  bb.0.entry:
17    ; CHECK:      %eax = MOV32r0
18    ; CHECK-NEXT: RETQ %eax
19    %eax = MOV32r0 implicit-def %eflags
20    RETQ %eax
21...
22