aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Mips/Fast-ISel/fast-isel-softfloat-lower-args.ll
blob: 9181c23d9ccacc95c55a1ae1c51445473d88118b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: not llc -mtriple=mipsel -mcpu=mips32r2 -mattr=+soft-float \
; RUN:         -O0 -fast-isel-abort=3 -relocation-model=pic < %s 2>&1 | FileCheck %s

; Test that FastISel aborts instead of trying to lower arguments for soft-float.

; CHECK: LLVM ERROR: FastISel didn't lower all arguments: void (double) (in function: __signbit)
define void @__signbit(double %__x) {
entry:
  %__x.addr = alloca double, align 8
  store double %__x, ptr %__x.addr, align 8
  ret void
}