summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-03 18:13:00 +0000
committerChris Lattner <sabre@nondot.org>2009-02-03 18:13:00 +0000
commit8fc6561993f5ce1d3dd79320b774b5b9a3fe57bc (patch)
treea57a67c1d4033c17e2636f3cb24d288648b56ba7
parentc1b58d40e63fadd3de75598afe5a36b923b10300 (diff)
downloadbcm5719-llvm-8fc6561993f5ce1d3dd79320b774b5b9a3fe57bc.tar.gz
bcm5719-llvm-8fc6561993f5ce1d3dd79320b774b5b9a3fe57bc.zip
this produces an undefined result, just check that the alloca is gone
and that sroa doesn't crash. llvm-svn: 63637
-rw-r--r--llvm/test/Transforms/ScalarRepl/2003-05-29-ArrayFail.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/ScalarRepl/2003-05-29-ArrayFail.ll b/llvm/test/Transforms/ScalarRepl/2003-05-29-ArrayFail.ll
index a8a76bc53b5..5a9f3a52c66 100644
--- a/llvm/test/Transforms/ScalarRepl/2003-05-29-ArrayFail.ll
+++ b/llvm/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.
OpenPOWER on IntegriCloud