From 66e9513625020f0769414715a485f2e47d69c3a3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 27 Jun 2006 20:58:41 +0000 Subject: [PATCH] testcase that crashes dead arg elim. llvm-svn: 28942 --- .../Transforms/DeadArgElim/2006-06-27-struct-ret.ll | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 llvm/test/Regression/Transforms/DeadArgElim/2006-06-27-struct-ret.ll diff --git a/llvm/test/Regression/Transforms/DeadArgElim/2006-06-27-struct-ret.ll b/llvm/test/Regression/Transforms/DeadArgElim/2006-06-27-struct-ret.ll new file mode 100644 index 000000000000..80bbce0c054a --- /dev/null +++ b/llvm/test/Regression/Transforms/DeadArgElim/2006-06-27-struct-ret.ll @@ -0,0 +1,13 @@ +; RUN: llvm-as < %s | opt -deadargelim -disable-output + +implementation + +internal csretcc void %build_delaunay({int}* %agg.result) { + ret void +} + +void %test() { + call csretcc void %build_delaunay({int}* null) + ret void +} +