From ee2e0e347e253d103ebbb0c59fcb48ca2d80b7ef Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 30 Mar 2011 23:44:13 +0000 Subject: Don't try to create zero-sized stack objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128586 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2011-03-30-CreateFixedObjCrash.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/CodeGen/X86/2011-03-30-CreateFixedObjCrash.ll (limited to 'test/CodeGen') diff --git a/test/CodeGen/X86/2011-03-30-CreateFixedObjCrash.ll b/test/CodeGen/X86/2011-03-30-CreateFixedObjCrash.ll new file mode 100644 index 0000000..38a9b3d --- /dev/null +++ b/test/CodeGen/X86/2011-03-30-CreateFixedObjCrash.ll @@ -0,0 +1,10 @@ +; RUN: llc < %s -march=x86 + +; rdar://7983260 + +%struct.T0 = type {} + +define void @fn4(%struct.T0* byval %arg0) nounwind ssp { +entry: + ret void +} -- cgit v1.1