diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-03 18:13:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-03 18:13:00 +0000 |
commit | 67e3ba3f1dda6a5e4a9c774fbf0f96ec18db111a (patch) | |
tree | 4df1dabdded5cd050458c980fd346808184c98c0 | |
parent | 95c5f05641e0afdfcbeb430090e1cd0356dddfbc (diff) |
this produces an undefined result, just check that the alloca is gone
and that sroa doesn't crash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63637 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/ScalarRepl/2003-05-29-ArrayFail.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/ScalarRepl/2003-05-29-ArrayFail.ll b/test/Transforms/ScalarRepl/2003-05-29-ArrayFail.ll index a8a76bc53b..5a9f3a52c6 100644 --- a/test/Transforms/ScalarRepl/2003-05-29-ArrayFail.ll +++ b/test/Transforms/ScalarRepl/2003-05-29-ArrayFail.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scalarrepl -instcombine | llvm-dis | grep {ret i32 undef} +; RUN: llvm-as < %s | opt -scalarrepl -instcombine | llvm-dis | not grep alloca ; Test that an array is not incorrectly deconstructed. |