24 lines · plain
1# RUN: llc -mtriple=x86_64 -run-pass none -o - %s | FileCheck %s2# This test ensures that the MIR parser parses X86 machine instructions3# correctly.4 5--- |6 7 define i32 @inc(i32 %a) {8 entry:9 %b = mul i32 %a, 1110 ret i32 %b11 }12 13...14---15# CHECK: name: inc16name: inc17body: |18 bb.0.entry:19 ; CHECK: MOV32rr20 ; CHECK-NEXT: RET6421 $eax = MOV32rr $eax22 RET64 $eax23...24