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
This commit is contained in:
Nick Lewycky
2008-01-27 18:35:00 +00:00
parent d82375c1c4
commit c837abee2f
2 changed files with 4 additions and 1 deletions
@@ -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* }