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 | 4fd552880c9f42f117bd79929ea0179f99bd6bb7 (patch) | |
tree | 3a0b16083dbbee41250f7c49651d681fa263756e /test/CodeGen | |
parent | 30eae3c02244e18747f9f0dca6946d86d0ccb7f5 (diff) |
Don't attempt to handle aggregate argument values in FastISel; let
SelectionDAG do those. This fixes PR3955.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/X86/fast-isel-bail.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fast-isel-bail.ll b/test/CodeGen/X86/fast-isel-bail.ll new file mode 100644 index 0000000000..fa65d209b2 --- /dev/null +++ b/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 +} |