diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-03-30 23:44:13 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-03-30 23:44:13 +0000 |
commit | ee2e0e347e253d103ebbb0c59fcb48ca2d80b7ef (patch) | |
tree | 0382ec160f8cd1103546221f2dd5b50424477a95 /test | |
parent | 40829ed6f5e449fa33a9cd7022ce6c3941dace3d (diff) | |
download | external_llvm-ee2e0e347e253d103ebbb0c59fcb48ca2d80b7ef.zip external_llvm-ee2e0e347e253d103ebbb0c59fcb48ca2d80b7ef.tar.gz external_llvm-ee2e0e347e253d103ebbb0c59fcb48ca2d80b7ef.tar.bz2 |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/2011-03-30-CreateFixedObjCrash.ll | 10 |
1 files changed, 10 insertions, 0 deletions
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 +} |