[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/add.ll or.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Mar 10 18:12:04 PST 2003
Changes in directory llvm/test/Regression/Transforms/InstCombine:
add.ll updated: 1.7 -> 1.8
or.ll updated: 1.11 -> 1.12
---
Log message:
Test limited reassociation
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/InstCombine/add.ll
diff -u llvm/test/Regression/Transforms/InstCombine/add.ll:1.7 llvm/test/Regression/Transforms/InstCombine/add.ll:1.8
--- llvm/test/Regression/Transforms/InstCombine/add.ll:1.7 Mon Mar 10 17:52:54 2003
+++ llvm/test/Regression/Transforms/InstCombine/add.ll Mon Mar 10 18:10:59 2003
@@ -57,3 +57,4 @@
%C = add int %A1, %B1
ret int %C
}
+
Index: llvm/test/Regression/Transforms/InstCombine/or.ll
diff -u llvm/test/Regression/Transforms/InstCombine/or.ll:1.11 llvm/test/Regression/Transforms/InstCombine/or.ll:1.12
--- llvm/test/Regression/Transforms/InstCombine/or.ll:1.11 Mon Mar 10 17:52:54 2003
+++ llvm/test/Regression/Transforms/InstCombine/or.ll Mon Mar 10 18:10:59 2003
@@ -99,3 +99,9 @@
ret int %OROK
}
+ubyte %test17(ubyte %A, ubyte %B) { ; Test that (A|c1)|(B|c2) == (A|B)|(c1|c2)
+ %C = or ubyte %A, 1
+ %D = or ubyte %B, 254
+ %E = or ubyte %C, %D
+ ret ubyte %E
+}
More information about the llvm-commits
mailing list