[llvm-commits] [parallel] CVS: llvm/test/Regression/Transforms/CodeExtractor/loops-no-output.c loops-outputs.c
Misha Brukman
brukman at cs.uiuc.edu
Mon Mar 1 19:03:38 PST 2004
Changes in directory llvm/test/Regression/Transforms/CodeExtractor:
loops-no-output.c added (r1.1.2.1)
loops-outputs.c added (r1.1.2.1)
---
Log message:
Merge from trunk
---
Diffs of the changes: (+26 -0)
Index: llvm/test/Regression/Transforms/CodeExtractor/loops-no-output.c
diff -c /dev/null llvm/test/Regression/Transforms/CodeExtractor/loops-no-output.c:1.1.2.1
*** /dev/null Mon Mar 1 17:59:24 2004
--- llvm/test/Regression/Transforms/CodeExtractor/loops-no-output.c Mon Mar 1 17:59:14 2004
***************
*** 0 ****
--- 1,13 ----
+ #include <stdio.h>
+
+ int main(int argc, char *argv[]) {
+ int i;
+ for (i=0; i < 5; ++i)
+ printf("%d\n", i);
+
+ printf("separator!\n");
+
+ for (i=0; i < 4; ++i)
+ printf("[%d]\n", i+5);
+ return 0;
+ }
Index: llvm/test/Regression/Transforms/CodeExtractor/loops-outputs.c
diff -c /dev/null llvm/test/Regression/Transforms/CodeExtractor/loops-outputs.c:1.1.2.1
*** /dev/null Mon Mar 1 17:59:24 2004
--- llvm/test/Regression/Transforms/CodeExtractor/loops-outputs.c Mon Mar 1 17:59:14 2004
***************
*** 0 ****
--- 1,13 ----
+ #include <stdio.h>
+
+ int main(int argc, char *argv[]) {
+ int i, d=0;
+ for (i=0; i < 10; ++i)
+ d += i;
+
+ printf("separator!\n");
+
+ for (i=0; i < 4; ++i)
+ printf("[%d]\n", d+i);
+ return 0;
+ }
More information about the llvm-commits
mailing list