[PATCH] D29528: [DAGCombiner] Push truncate through adde when the carry isn't used.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 06:10:24 PST 2017
RKSimon added inline comments.
================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:7872
+ if (N0.getOpcode() == ISD::ADDE &&
+ N0.hasOneUse() &&
+ !N0.getNode()->hasAnyUseOfValue(1) &&
----------------
clang-format
https://reviews.llvm.org/D29528
More information about the llvm-commits
mailing list