[llvm-commits] CVS: llvm/lib/Target/Sparc/Sparc.burg.in

Vikram Adve vadve at cs.uiuc.edu
Thu Jul 10 14:48:01 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

Sparc.burg.in updated: 1.5 -> 1.6

---
Log message:

Fold cast-to-bool into not.  Later, this should also be folded into other
boolean operations: AND, OR, XOR.


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/Sparc.burg.in
diff -u llvm/lib/Target/Sparc/Sparc.burg.in:1.5 llvm/lib/Target/Sparc/Sparc.burg.in:1.6
--- llvm/lib/Target/Sparc/Sparc.burg.in:1.5	Sun May 25 10:59:47 2003
+++ llvm/lib/Target/Sparc/Sparc.burg.in	Thu Jul 10 14:47:42 2003
@@ -138,6 +138,7 @@
 	 */
 not:	  Not(reg,reg)		=   21 (10);
 tobool:	  ToBoolTy(reg)		=   22 (10);
+not:      Not(tobool, reg)      =  322 (10); // fold cast-to-bool into not
 toubyte:  ToUByteTy(reg)	=   23 (10);
 tosbyte:  ToSByteTy(reg)	=   24 (10);
 toushort: ToUShortTy(reg)	=   25 (10);





More information about the llvm-commits mailing list