summaryrefslogtreecommitdiff
path: root/test/Transforms/LoopUnroll
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
commitc837abee2fa6cdf75dcfbaf27d7c53613ec7ff7a (patch)
treecd02425f94b429186dcc75f361f4e60eeb963d90 /test/Transforms/LoopUnroll
parentd82375c1c43db7f823dd4660d3495e76566699e3 (diff)
downloadllvm-c837abee2fa6cdf75dcfbaf27d7c53613ec7ff7a.tar.gz
llvm-c837abee2fa6cdf75dcfbaf27d7c53613ec7ff7a.tar.bz2
llvm-c837abee2fa6cdf75dcfbaf27d7c53613ec7ff7a.tar.xz
Be more careful modifying the use_list while also iterating through it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46417 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopUnroll')
-rw-r--r--test/Transforms/LoopUnroll/2007-11-05-Crash.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Transforms/LoopUnroll/2007-11-05-Crash.ll b/test/Transforms/LoopUnroll/2007-11-05-Crash.ll
index a5e13d5a26..a46c09e3bd 100644
--- a/test/Transforms/LoopUnroll/2007-11-05-Crash.ll
+++ b/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* }