[llvm-commits] CVS: llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 29 16:31:28 PST 2004
Changes in directory llvm/test/Regression/Transforms/SimplifyCFG:
HoistCode.ll added (r1.1)
---
Log message:
New testcase for simplifycfg
---
Diffs of the changes: (+11 -0)
Index: llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll
diff -c /dev/null llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll:1.1
*** /dev/null Mon Nov 29 18:31:26 2004
--- llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll Mon Nov 29 18:31:16 2004
***************
*** 0 ****
--- 1,11 ----
+ ; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+
+ void %foo(bool %C, int* %P) {
+ br bool %C, label %T, label %F
+ T:
+ store int 7, int* %P
+ ret void
+ F:
+ store int 7, int* %P
+ ret void
+ }
More information about the llvm-commits
mailing list