From: Evan Cheng Date: Sun, 5 Mar 2006 07:30:16 +0000 (+0000) Subject: Back out fold (shl (add x, c1), c2) -> (add (shl x, c2), c1< (add (shl x, c2), c1<getValue(), VT)); - // fold (shl (add x, c1), c2) -> (add (shl x, c2), c1<hasOneUse() && - isa(N0.getOperand(1))) { - return DAG.getNode(ISD::ADD, VT, - DAG.getNode(ISD::SHL, VT, N0.getOperand(0), N1), - DAG.getNode(ISD::SHL, VT, N0.getOperand(1), N1)); - } return SDOperand(); }