[llvm-commits] CVS: llvm/test/Regression/Transforms/IndVarsSimplify/2005-02-11-InvokeCrash.ll

Chris Lattner lattner at cs.uiuc.edu
Fri Feb 11 19:26:45 PST 2005



Changes in directory llvm/test/Regression/Transforms/IndVarsSimplify:

2005-02-11-InvokeCrash.ll added (r1.1)
---
Log message:

new testcase for PR504: http://llvm.cs.uiuc.edu/PR504 


---
Diffs of the changes:  (+22 -0)

 2005-02-11-InvokeCrash.ll |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+)


Index: llvm/test/Regression/Transforms/IndVarsSimplify/2005-02-11-InvokeCrash.ll
diff -c /dev/null llvm/test/Regression/Transforms/IndVarsSimplify/2005-02-11-InvokeCrash.ll:1.1
*** /dev/null	Fri Feb 11 21:26:40 2005
--- llvm/test/Regression/Transforms/IndVarsSimplify/2005-02-11-InvokeCrash.ll	Fri Feb 11 21:26:30 2005
***************
*** 0 ****
--- 1,22 ----
+ ; RUN: llvm-as < %s | opt -indvars -disable-output
+ 
+ void %_ZN5ArrayISt7complexIdEEC2ERK10dim_vector() {
+ entry:
+ 	%tmp.7 = invoke int %_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector( )
+ 			to label %invoke_cont.0 unwind label %cond_true.1		; <int> [#uses=2]
+ 
+ cond_true.1:		; preds = %entry
+ 	unwind
+ 
+ invoke_cont.0:		; preds = %entry
+ 	%tmp.4.i = cast int %tmp.7 to uint		; <uint> [#uses=0]
+ 	%tmp.14.0.i5 = add int %tmp.7, -1		; <int> [#uses=1]
+ 	br label %no_exit.i
+ 
+ no_exit.i:		; preds = %no_exit.i, %invoke_cont.0
+ 	%tmp.14.0.i.0 = phi int [ %tmp.14.0.i, %no_exit.i ], [ %tmp.14.0.i5, %invoke_cont.0 ]		; <int> [#uses=1]
+ 	%tmp.14.0.i = add int %tmp.14.0.i.0, -1		; <int> [#uses=1]
+ 	br label %no_exit.i
+ }
+ 
+ declare int %_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector()






More information about the llvm-commits mailing list