]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/MIR/X86/expected-named-register-livein.mir
Vendor import of llvm trunk r338150:
[FreeBSD/FreeBSD.git] / test / CodeGen / MIR / X86 / expected-named-register-livein.mir
1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2
3 --- |
4
5   define i32 @test(i32 %a) {
6   body:
7     ret i32 %a
8   }
9
10 ...
11 ---
12 name:            test
13 body: |
14   bb.0.body:
15     ; CHECK: [[@LINE+1]]:14: expected a named register
16     liveins: %0
17
18     $eax = COPY $edi
19     RETQ $eax
20 ...