summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Blackfin
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-19 04:53:21 +0000
committerChris Lattner <sabre@nondot.org>2010-03-19 04:53:21 +0000
commit6d984166fcce03d4f85c9e9d0a076ac41f2dd002 (patch)
tree6a04ec6619b9f95bb30f63d3d21976d1cea6f422 /llvm/lib/Target/Blackfin
parent607795f9177da6905c2888baf7452cad09da86aa (diff)
downloadbcm5719-llvm-6d984166fcce03d4f85c9e9d0a076ac41f2dd002.tar.gz
bcm5719-llvm-6d984166fcce03d4f85c9e9d0a076ac41f2dd002.zip
disable some illegal blackfin patterns. sext from i32 to i32 can never
match. Jakob, please take a look when you get a chance. llvm-svn: 98931
Diffstat (limited to 'llvm/lib/Target/Blackfin')
-rw-r--r--llvm/lib/Target/Blackfin/BlackfinInstrInfo.td10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/Blackfin/BlackfinInstrInfo.td b/llvm/lib/Target/Blackfin/BlackfinInstrInfo.td
index 88ff85f5d4f..1d7e190bb7c 100644
--- a/llvm/lib/Target/Blackfin/BlackfinInstrInfo.td
+++ b/llvm/lib/Target/Blackfin/BlackfinInstrInfo.td
@@ -610,7 +610,7 @@ def MOVE_ncccc : F1<(outs NotCC:$cc), (ins JustCC:$sb),
def MOVECC_zext : F1<(outs D:$dst), (ins JustCC:$cc),
"$dst = $cc;",
- [(set D:$dst, (zext JustCC:$cc))]>;
+ [/*(set D:$dst, (zext JustCC:$cc))*/]>;
def MOVENCC_z : F1<(outs D:$dst), (ins NotCC:$cc),
"$dst = cc;", []>;
@@ -859,10 +859,10 @@ def : Pat<(BfinCall (i32 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<(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)),
OpenPOWER on IntegriCloud