diff options
| author | Dan Gohman <gohman@apple.com> | 2009-04-07 20:40:11 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-04-07 20:40:11 +0000 |
| commit | ca93aabeba8f7449f1725365647be015f4bc0519 (patch) | |
| tree | 52b382716e8eca49e55e37c248d70ba7f79f934d /llvm/test | |
| parent | fde2110aa9c1aee6e739ed7641056b36c00dc92a (diff) | |
| download | bcm5719-llvm-ca93aabeba8f7449f1725365647be015f4bc0519.tar.gz bcm5719-llvm-ca93aabeba8f7449f1725365647be015f4bc0519.zip | |
Don't attempt to handle aggregate argument values in FastISel; let
SelectionDAG do those. This fixes PR3955.
llvm-svn: 68546
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/X86/fast-isel-bail.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-bail.ll b/llvm/test/CodeGen/X86/fast-isel-bail.ll new file mode 100644 index 00000000000..fa65d209b2c --- /dev/null +++ b/llvm/test/CodeGen/X86/fast-isel-bail.ll @@ -0,0 +1,14 @@ +; RUN: llvm-as < %s | llc -march=x86 -fast + +; This file is for regression tests for cases where FastISel needs +; to gracefully bail out and let SelectionDAGISel take over. + + type { i64, i8* } ; type %0 + +declare void @bar(%0) + +define fastcc void @foo() nounwind { +entry: + call void @bar(%0 zeroinitializer) + unreachable +} |

