From 6371087a0e9667e513112e358779228459220ec4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 10 Apr 2003 19:21:07 +0000 Subject: [PATCH] New testcase llvm-svn: 5770 --- .../Transforms/Mem2Reg/2003-04-10-DFNotFound.ll | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 llvm/test/Regression/Transforms/Mem2Reg/2003-04-10-DFNotFound.ll diff --git a/llvm/test/Regression/Transforms/Mem2Reg/2003-04-10-DFNotFound.ll b/llvm/test/Regression/Transforms/Mem2Reg/2003-04-10-DFNotFound.ll new file mode 100644 index 000000000000..286252aa56ef --- /dev/null +++ b/llvm/test/Regression/Transforms/Mem2Reg/2003-04-10-DFNotFound.ll @@ -0,0 +1,11 @@ +; RUN: as < %s | opt -mem2reg + +implementation ; Functions: + +void %_Z3barv() { + %result = alloca int + ret void + + store int 0, int* %result ; DF not set! + ret void +}