• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -march=mips -mcpu=mips2 -O0 -relocation-model=pic \
2; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
3; RUN: llc -march=mips -mcpu=mips3 -O0 -relocation-model=pic -target-abi n64 \
4; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
5; RUN: llc -march=mips -mcpu=mips4 -O0 -relocation-model=pic -target-abi n64 \
6; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
7
8; RUN: llc -march=mips -mcpu=mips32r6 -O0 -relocation-model=pic \
9; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
10; RUN: llc -march=mips -mcpu=mips32r2 -mattr=+micromips -O0 -relocation-model=pic \
11; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
12
13; RUN: llc -march=mips -mcpu=mips64 -O0 -relocation-model=pic -target-abi n64 \
14; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
15; RUN: llc -march=mips -mcpu=mips64r2 -O0 -relocation-model=pic -target-abi n64 \
16; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
17; RUN: llc -march=mips -mcpu=mips64r3 -O0 -relocation-model=pic -target-abi n64 \
18; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
19; RUN: llc -march=mips -mcpu=mips64r5 -O0 -relocation-model=pic -target-abi n64 \
20; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
21; RUN: llc -march=mips -mcpu=mips32r6 -O0 -relocation-model=pic \
22; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
23
24; CHECK: FastISel missed terminator:   ret i32 0
25
26define i32 @foo() {
27entry:
28  ret i32 0
29}
30