From ca93aabeba8f7449f1725365647be015f4bc0519 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 7 Apr 2009 20:40:11 +0000 Subject: Don't attempt to handle aggregate argument values in FastISel; let SelectionDAG do those. This fixes PR3955. llvm-svn: 68546 --- llvm/test/CodeGen/X86/fast-isel-bail.ll | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 llvm/test/CodeGen/X86/fast-isel-bail.ll (limited to 'llvm/test') 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 +} -- cgit v1.2.3