From: Chris Lattner Date: Wed, 11 Oct 2006 04:12:39 +0000 (+0000) Subject: Remove dead/redundant instructions. These are handled by ZAPNOTi X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=78feeb04603ded015be718538ec53fd09b84dede;p=oota-llvm.git Remove dead/redundant instructions. These are handled by ZAPNOTi git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30872 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Alpha/AlphaInstrInfo.td b/lib/Target/Alpha/AlphaInstrInfo.td index 60689569637..d63d0badff5 100644 --- a/lib/Target/Alpha/AlphaInstrInfo.td +++ b/lib/Target/Alpha/AlphaInstrInfo.td @@ -385,12 +385,7 @@ def XOR : OForm< 0x11, 0x40, "xor $RA,$RB,$RC", [(set GPRC:$RC, (xor GPRC:$RA, GPRC:$RB))], s_ilog>; def XORi : OFormL<0x11, 0x40, "xor $RA,$L,$RC", [(set GPRC:$RC, (xor GPRC:$RA, immUExt8:$L))], s_ilog>; -//FIXME: what to do about zap? the cases it catches are very complex -def ZAP : OForm< 0x12, 0x30, "zap $RA,$RB,$RC", [], s_ishf>; //Zero bytes -//ZAPi is useless give ZAPNOTi -def ZAPi : OFormL<0x12, 0x30, "zap $RA,$L,$RC", [], s_ishf>; //Zero bytes -//FIXME: what to do about zapnot? see ZAP :) -def ZAPNOT : OForm< 0x12, 0x31, "zapnot $RA,$RB,$RC", [], s_ishf>; //Zero bytes not + def ZAPNOTi : OFormL<0x12, 0x31, "zapnot $RA,$L,$RC", [(set GPRC:$RC, (and GPRC:$RA, immZAP:$L))], s_ishf>;