[llvm-commits] [llvm] r99183 - /llvm/trunk/lib/Target/Blackfin/BlackfinInstrInfo.td
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Mar 22 09:30:04 PDT 2010
Author: stoklund
Date: Mon Mar 22 11:30:04 2010
New Revision: 99183
URL: http://llvm.org/viewvc/llvm-project?rev=99183&view=rev
Log:
Completely remove Blackfin patterns that thought JustCC was i1.
Thanks, Chris!
Modified:
llvm/trunk/lib/Target/Blackfin/BlackfinInstrInfo.td
Modified: llvm/trunk/lib/Target/Blackfin/BlackfinInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Blackfin/BlackfinInstrInfo.td?rev=99183&r1=99182&r2=99183&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Blackfin/BlackfinInstrInfo.td (original)
+++ llvm/trunk/lib/Target/Blackfin/BlackfinInstrInfo.td Mon Mar 22 11:30:04 2010
@@ -610,8 +610,7 @@
"cc = !cc;", []>;
def MOVECC_zext : F1<(outs D:$dst), (ins JustCC:$cc),
- "$dst = $cc;",
- [/*(set D:$dst, (zext JustCC:$cc))*/]>;
+ "$dst = $cc;", []>;
def MOVENCC_z : F1<(outs D:$dst), (ins NotCC:$cc),
"$dst = cc;", []>;
@@ -859,17 +858,5 @@
(CALLa tglobaladdr:$dst)>;
def : Pat<(BfinCall (i32 texternalsym:$dst)),
(CALLa texternalsym:$dst)>;
-
-//def : Pat<(sext JustCC:$cc),
-// (NEG (MOVECC_zext JustCC:$cc))>;
-//def : Pat<(anyext JustCC:$cc),
-// (MOVECC_zext JustCC:$cc)>;
-def : Pat<(i16 (zext JustCC:$cc)),
- (EXTRACT_SUBREG (MOVECC_zext JustCC:$cc), bfin_subreg_lo16)>;
-def : Pat<(i16 (sext JustCC:$cc)),
- (EXTRACT_SUBREG (NEG (MOVECC_zext JustCC:$cc)), bfin_subreg_lo16)>;
-def : Pat<(i16 (anyext JustCC:$cc)),
- (EXTRACT_SUBREG (MOVECC_zext JustCC:$cc), bfin_subreg_lo16)>;
-
def : Pat<(i16 (trunc D:$src)),
(EXTRACT_SUBREG (i32 (COPY_TO_REGCLASS D:$src, D)), bfin_subreg_lo16)>;
More information about the llvm-commits
mailing list