xref: /aosp_15_r20/external/llvm/test/CodeGen/Mips/Fast-ISel/check-disabled-mcpus.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mcpu=mips2 -O0 -relocation-model=pic \
2*9880d681SAndroid Build Coastguard Worker; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mcpu=mips3 -O0 -relocation-model=pic -target-abi n64 \
4*9880d681SAndroid Build Coastguard Worker; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
5*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mcpu=mips4 -O0 -relocation-model=pic -target-abi n64 \
6*9880d681SAndroid Build Coastguard Worker; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mcpu=mips32r6 -O0 -relocation-model=pic \
9*9880d681SAndroid Build Coastguard Worker; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
10*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mcpu=mips32r2 -mattr=+micromips -O0 -relocation-model=pic \
11*9880d681SAndroid Build Coastguard Worker; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
12*9880d681SAndroid Build Coastguard Worker
13*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mcpu=mips64 -O0 -relocation-model=pic -target-abi n64 \
14*9880d681SAndroid Build Coastguard Worker; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
15*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mcpu=mips64r2 -O0 -relocation-model=pic -target-abi n64 \
16*9880d681SAndroid Build Coastguard Worker; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
17*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mcpu=mips64r3 -O0 -relocation-model=pic -target-abi n64 \
18*9880d681SAndroid Build Coastguard Worker; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
19*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mcpu=mips64r5 -O0 -relocation-model=pic -target-abi n64 \
20*9880d681SAndroid Build Coastguard Worker; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
21*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mcpu=mips32r6 -O0 -relocation-model=pic \
22*9880d681SAndroid Build Coastguard Worker; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
23*9880d681SAndroid Build Coastguard Worker
24*9880d681SAndroid Build Coastguard Worker; CHECK: FastISel missed terminator:   ret i32 0
25*9880d681SAndroid Build Coastguard Worker
26*9880d681SAndroid Build Coastguard Workerdefine i32 @foo() {
27*9880d681SAndroid Build Coastguard Workerentry:
28*9880d681SAndroid Build Coastguard Worker  ret i32 0
29*9880d681SAndroid Build Coastguard Worker}
30