Files
clang-p2996/llvm/test/CodeGen/Mips/Fast-ISel/fast-isel-softfloat-lower-args.ll
Matt Arsenault 36b710a7e5 CodeGen: Convert some assorted errors to use reportFatalUsageError (#142031)
The test coverage is lacking for many of these errors.
2025-05-30 08:06:53 +02:00

13 lines
471 B
LLVM

; 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
}