diff options
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 3 | 
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index c1a15b39130..3fdea2d0d8d 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -2856,11 +2856,8 @@ SDValue DAGCombiner::visitMUL(SDNode *N) {        (!VT.isVector() || Level <= AfterLegalizeVectorOps)) {      SDLoc DL(N);      SDValue LogBase2 = BuildLogBase2(N1, DL); -    AddToWorklist(LogBase2.getNode()); -      EVT ShiftVT = getShiftAmountTy(N0.getValueType());      SDValue Trunc = DAG.getZExtOrTrunc(LogBase2, DL, ShiftVT); -    AddToWorklist(Trunc.getNode());      return DAG.getNode(ISD::SHL, DL, VT, N0, Trunc);    }    // fold (mul x, -(1 << c)) -> -(x << c) or (-x) << c  | 

