summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/Fast-ISel/fptrunc.ll
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2016-07-28 14:55:28 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2016-07-28 14:55:28 +0000
commite0b529f619b9157c4ff405428655126fe1370f91 (patch)
treebcc0487d1114b7e2b50d3bea685628164dc2897b /llvm/test/CodeGen/Mips/Fast-ISel/fptrunc.ll
parentcf3f83e46b4c092b4621bc98c6fdc8edeb3e692f (diff)
downloadbcm5719-llvm-e0b529f619b9157c4ff405428655126fe1370f91.tar.gz
bcm5719-llvm-e0b529f619b9157c4ff405428655126fe1370f91.zip
[mips][fastisel] Handle 0-4 arguments without SelectionDAG.
Summary: Implements fastLowerArguments() to avoid the need to fall back on SelectionDAG for 0-4 argument functions that don't do tricky things like passing double in a pair of i32's. This allows us to move all except one test to -fast-isel-abort=3. The remaining one has function prototypes of the form 'i32 (i32, double, double)' which requires floats to be passed in GPR's. Reviewers: sdardis Subscribers: dsanders, llvm-commits, sdardis Differential Revision: https://reviews.llvm.org/D22680 llvm-svn: 276982
Diffstat (limited to 'llvm/test/CodeGen/Mips/Fast-ISel/fptrunc.ll')
-rw-r--r--llvm/test/CodeGen/Mips/Fast-ISel/fptrunc.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Mips/Fast-ISel/fptrunc.ll b/llvm/test/CodeGen/Mips/Fast-ISel/fptrunc.ll
index 89a7bfce5b0..61828737aab 100644
--- a/llvm/test/CodeGen/Mips/Fast-ISel/fptrunc.ll
+++ b/llvm/test/CodeGen/Mips/Fast-ISel/fptrunc.ll
@@ -1,6 +1,6 @@
-; RUN: llc -march=mipsel -relocation-model=pic -O0 -fast-isel-abort=1 -mcpu=mips32r2 \
+; RUN: llc -march=mipsel -relocation-model=pic -O0 -fast-isel-abort=3 -mcpu=mips32r2 \
; RUN: < %s | FileCheck %s
-; RUN: llc -march=mipsel -relocation-model=pic -O0 -fast-isel-abort=1 -mcpu=mips32 \
+; RUN: llc -march=mipsel -relocation-model=pic -O0 -fast-isel-abort=3 -mcpu=mips32 \
; RUN: < %s | FileCheck %s
@d = global double 0x40147E6B74DF0446, align 8
OpenPOWER on IntegriCloud