[PATCH] D31403: [SDAG] Deal with deleted node in PromoteIntShiftOp

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 28 09:49:05 PDT 2017


RKSimon added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1161
     if (!N0.getNode())
       return SDValue();
 
----------------
Is there any case where the promotion of N0 will affect N1? Wouldn't shift(N0, N0) do this?



https://reviews.llvm.org/D31403





More information about the llvm-commits mailing list