diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-07-10 19:47:42 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-07-10 19:47:42 +0000 |
commit | ad80db6d7d76f961b55255b88ba8bdbec17d7779 (patch) | |
tree | 7b09cf161f449ce701a76e8097040ed1a85fb5ad /lib/Target/SparcV9/SparcV9.burg.in | |
parent | 4d2faf630712f7a70d0d595f412a501a5e8cd3a8 (diff) | |
download | external_llvm-ad80db6d7d76f961b55255b88ba8bdbec17d7779.zip external_llvm-ad80db6d7d76f961b55255b88ba8bdbec17d7779.tar.gz external_llvm-ad80db6d7d76f961b55255b88ba8bdbec17d7779.tar.bz2 |
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
Diffstat (limited to 'lib/Target/SparcV9/SparcV9.burg.in')
-rw-r--r-- | lib/Target/SparcV9/SparcV9.burg.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9.burg.in b/lib/Target/SparcV9/SparcV9.burg.in index 516a1fc..6c3b659 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); |