brintos

brintos / llvm-project-archived public Read only

0
0
Text · 386 B · 23e1762 Raw
22 lines · plain
1# RUN: llc -mtriple=x86_64 -run-pass none -o - %s | FileCheck %s2# This test ensures that the MIR parser parses X86 registers correctly.3 4--- |5 6  define i32 @foo() {7  entry:8    ret i32 09  }10 11...12---13# CHECK: name: foo14name:            foo15body: |16  bb.0.entry:17    ; CHECK:      $eax = MOV32r018    ; CHECK-NEXT: RET64 $eax19    $eax = MOV32r0 implicit-def $eflags20    RET64 $eax21...22