[llvm-commits] CVS: llvm/test/Regression/Transforms/LevelRaise/2002-11-04-ConstantSharing.ll

Chris Lattner lattner at cs.uiuc.edu
Sun May 11 17:47:01 PDT 2003


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

2002-11-04-ConstantSharing.ll added (r1.1)

---
Log message:

Checkin old test


---
Diffs of the changes:

Index: llvm/test/Regression/Transforms/LevelRaise/2002-11-04-ConstantSharing.ll
diff -c /dev/null llvm/test/Regression/Transforms/LevelRaise/2002-11-04-ConstantSharing.ll:1.1
*** /dev/null	Sun May 11 17:46:33 2003
--- llvm/test/Regression/Transforms/LevelRaise/2002-11-04-ConstantSharing.ll	Sun May 11 17:46:23 2003
***************
*** 0 ****
--- 1,11 ----
+ 
+ implementation
+ 
+ bool %test(int *%X, uint* %Y) {
+ 	%A = cast int* %X to sbyte*
+ 	%B = cast uint* %Y to sbyte*
+ 	%c1 = seteq sbyte* %A, null
+ 	%c2 = seteq sbyte* %B, null
+ 	%c = and bool %c1, %c2
+ 	ret bool %c
+ }





More information about the llvm-commits mailing list