diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-19 04:53:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-19 04:53:21 +0000 |
commit | 2356ae91797eb06ab2612bfc66a810b4a1826cf4 (patch) | |
tree | d9cc09283c9e45c6891f0193b99d6b867d823f85 /lib/Target/Blackfin | |
parent | 1d7dbd17165ac83d8cad388dcc3cfd7a6d915172 (diff) | |
download | external_llvm-2356ae91797eb06ab2612bfc66a810b4a1826cf4.zip external_llvm-2356ae91797eb06ab2612bfc66a810b4a1826cf4.tar.gz external_llvm-2356ae91797eb06ab2612bfc66a810b4a1826cf4.tar.bz2 |
disable some illegal blackfin patterns. sext from i32 to i32 can never
match. Jakob, please take a look when you get a chance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Blackfin')
-rw-r--r-- | lib/Target/Blackfin/BlackfinInstrInfo.td | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/Blackfin/BlackfinInstrInfo.td b/lib/Target/Blackfin/BlackfinInstrInfo.td index 88ff85f..1d7e190 100644 --- a/lib/Target/Blackfin/BlackfinInstrInfo.td +++ b/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)), |