summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/Fast-ISel/fast-isel-softfloat-lower-args.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/Mips/Fast-ISel/fast-isel-softfloat-lower-args.ll')
-rw-r--r--llvm/test/CodeGen/Mips/Fast-ISel/fast-isel-softfloat-lower-args.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Mips/Fast-ISel/fast-isel-softfloat-lower-args.ll b/llvm/test/CodeGen/Mips/Fast-ISel/fast-isel-softfloat-lower-args.ll
new file mode 100644
index 00000000000..24161ca8238
--- /dev/null
+++ b/llvm/test/CodeGen/Mips/Fast-ISel/fast-isel-softfloat-lower-args.ll
@@ -0,0 +1,11 @@
+; RUN: not llc -march=mipsel -mcpu=mips32r2 -mattr=+soft-float \
+; RUN: -O0 -fast-isel-abort=3 -relocation-model=pic < %s
+
+; Test that FastISel aborts instead of trying to lower arguments for soft-float.
+
+define void @__signbit(double %__x) {
+entry:
+ %__x.addr = alloca double, align 8
+ store double %__x, double* %__x.addr, align 8
+ ret void
+}
OpenPOWER on IntegriCloud