aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/Fast-ISel/check-disabled-mcpus.ll
blob: 203e5a7e15959c906f581599b5da0d8dc058bb2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
; RUN: llc -march=mips -mcpu=mips2 -O0 -relocation-model=pic \
; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
; RUN: llc -march=mips -mcpu=mips3 -O0 -relocation-model=pic \
; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
; RUN: llc -march=mips -mcpu=mips4 -O0 -relocation-model=pic \
; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s

; RUN: llc -march=mips -mcpu=mips32r6 -O0 -relocation-model=pic \
; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s

; RUN: llc -march=mips -mcpu=mips64 -O0 -relocation-model=pic \
; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
; RUN: llc -march=mips -mcpu=mips64r2 -O0 -relocation-model=pic \
; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
; RUN: llc -march=mips -mcpu=mips64r3 -O0 -relocation-model=pic \
; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
; RUN: llc -march=mips -mcpu=mips64r5 -O0 -relocation-model=pic \
; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s
; RUN: llc -march=mips -mcpu=mips32r6 -O0 -relocation-model=pic \
; RUN:     -fast-isel-verbose <%s 2>&1 | FileCheck %s

; CHECK: FastISel missed terminator:   ret i32 0

define i32 @foo() {
entry:
  ret i32 0
}