From: Vikram S. Adve Date: Thu, 10 Jul 2003 19:47:42 +0000 (+0000) Subject: Fold cast-to-bool into not. Later, this should also be folded into other X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ad80db6d7d76f961b55255b88ba8bdbec17d7779;p=oota-llvm.git Fold cast-to-bool into not. Later, this should also be folded into other boolean operations: AND, OR, XOR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7157 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/SparcV9/SparcV9.burg.in b/lib/Target/SparcV9/SparcV9.burg.in index 516a1fcb4bd..6c3b659199c 100644 --- a/lib/Target/SparcV9/SparcV9.burg.in +++ b/lib/Target/SparcV9/SparcV9.burg.in @@ -138,6 +138,7 @@ reg: VRegList(reg,reg) = 10 (0); */ 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);