xref: /aosp_15_r20/external/llvm/test/CodeGen/MIR/X86/expected-named-register-livein.mir (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker--- |
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker  define i32 @test(i32 %a) {
6*9880d681SAndroid Build Coastguard Worker  body:
7*9880d681SAndroid Build Coastguard Worker    ret i32 %a
8*9880d681SAndroid Build Coastguard Worker  }
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Worker...
11*9880d681SAndroid Build Coastguard Worker---
12*9880d681SAndroid Build Coastguard Workername:            test
13*9880d681SAndroid Build Coastguard Workerbody: |
14*9880d681SAndroid Build Coastguard Worker  bb.0.body:
15*9880d681SAndroid Build Coastguard Worker    ; CHECK: [[@LINE+1]]:14: expected a named register
16*9880d681SAndroid Build Coastguard Worker    liveins: %0
17*9880d681SAndroid Build Coastguard Worker
18*9880d681SAndroid Build Coastguard Worker    %eax = COPY %edi
19*9880d681SAndroid Build Coastguard Worker    RETQ %eax
20*9880d681SAndroid Build Coastguard Worker...
21