summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopUnroll/2007-11-05-Crash.ll
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-01-27 18:35:00 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-01-27 18:35:00 +0000
commitefb16f7057e91c41923f5c01bd60966e0d048f7c (patch)
tree42d18595f4702cdda4591e403463cfe39a509139 /llvm/test/Transforms/LoopUnroll/2007-11-05-Crash.ll
parent053c9871cdcb716edbcf223ba1f438da0df2d8a8 (diff)
downloadbcm5719-llvm-efb16f7057e91c41923f5c01bd60966e0d048f7c.tar.gz
bcm5719-llvm-efb16f7057e91c41923f5c01bd60966e0d048f7c.zip
Be more careful modifying the use_list while also iterating through it.
llvm-svn: 46417
Diffstat (limited to 'llvm/test/Transforms/LoopUnroll/2007-11-05-Crash.ll')
-rw-r--r--llvm/test/Transforms/LoopUnroll/2007-11-05-Crash.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Transforms/LoopUnroll/2007-11-05-Crash.ll b/llvm/test/Transforms/LoopUnroll/2007-11-05-Crash.ll
index a5e13d5a26a..a46c09e3bde 100644
--- a/llvm/test/Transforms/LoopUnroll/2007-11-05-Crash.ll
+++ b/llvm/test/Transforms/LoopUnroll/2007-11-05-Crash.ll
@@ -1,5 +1,7 @@
; RUN: llvm-as < %s | opt -disable-output -loop-unroll
; PR1770
+; PR1947
+
%struct.cl_engine = type { i32, i16, i32, i8**, i8**, i8*, i8*, i8*, i8*, i8*, i8*, i8* }
%struct.cl_limits = type { i32, i32, i32, i32, i16, i64 }
%struct.cli_ac_alt = type { i8, i8*, i16, i16, %struct.cli_ac_alt* }
OpenPOWER on IntegriCloud