diff options
| author | Daniel Sanders <daniel.sanders@imgtec.com> | 2016-07-29 12:27:28 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2016-07-29 12:27:28 +0000 |
| commit | cbaca42a0386219cd9ae843b84eff50c533461a2 (patch) | |
| tree | 8c94a56877e054a81913713b54fdde29d895f87e /llvm/test/CodeGen/Mips/Fast-ISel/nullvoid.ll | |
| parent | 563d6f8614f6f4815a32fa7eaae38b798c2b57fa (diff) | |
| download | bcm5719-llvm-cbaca42a0386219cd9ae843b84eff50c533461a2.tar.gz bcm5719-llvm-cbaca42a0386219cd9ae843b84eff50c533461a2.zip | |
Re-commit: [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.
The previous commit had an uninitialized variable that caused the incoming
argument region to have undefined size. This has been fixed.
Reviewers: sdardis
Subscribers: dsanders, llvm-commits, sdardis
Differential Revision: https://reviews.llvm.org/D22680
llvm-svn: 277136
Diffstat (limited to 'llvm/test/CodeGen/Mips/Fast-ISel/nullvoid.ll')
| -rw-r--r-- | llvm/test/CodeGen/Mips/Fast-ISel/nullvoid.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Mips/Fast-ISel/nullvoid.ll b/llvm/test/CodeGen/Mips/Fast-ISel/nullvoid.ll index 106015e30c3..617b9bb07dd 100644 --- a/llvm/test/CodeGen/Mips/Fast-ISel/nullvoid.ll +++ b/llvm/test/CodeGen/Mips/Fast-ISel/nullvoid.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 ; Function Attrs: nounwind |

