[llvm-commits] CVS: llvm/test/Regression/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Sep 22 16:59:09 PDT 2003
Changes in directory llvm/test/Regression/Transforms/Inline:
2003-09-22-PHINodesInExceptionDest.ll added (r1.1)
---
Log message:
new testcase which crashes the inliner, thanks Bugpoint!
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll
diff -c /dev/null llvm/test/Regression/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll:1.1
*** /dev/null Mon Sep 22 16:58:56 2003
--- llvm/test/Regression/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll Mon Sep 22 16:58:46 2003
***************
*** 0 ****
--- 1,26 ----
+ ; RUN: llvm-as < %s | opt -inline -disable-output
+
+ implementation
+
+ int %main() {
+ entry:
+ invoke void %__main( )
+ to label %Call2Invoke except label %LongJmpBlkPre
+
+ Call2Invoke:
+ br label %LongJmpBlkPre
+
+ LongJmpBlkPre:
+ %i.3 = phi uint [ 0, %entry ], [ 0, %Call2Invoke ] ; <uint> [#uses=0]
+ ret int 0
+ }
+
+ void %__main() {
+ call void %__llvm_getGlobalCtors( )
+ call void %__llvm_getGlobalDtors( )
+ ret void
+ }
+
+ declare void %__llvm_getGlobalCtors()
+
+ declare void %__llvm_getGlobalDtors()
More information about the llvm-commits
mailing list