[DAGcombine] Do not replace truncate node by itself when doing constant folding,...
authorAmaury Sechet <deadalnix@gmail.com>
Fri, 10 Nov 2017 20:59:53 +0000 (20:59 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Fri, 10 Nov 2017 20:59:53 +0000 (20:59 +0000)
commit3f0f650f498d97516745678b304a1649c3b2450f
treeb77b5197783432e1a7415bc501e200cffe8afeca
parent0f2ce11df7288c4cdae0db2f7211ec41446e6c22
[DAGcombine] Do not replace truncate node by itself when doing constant folding, this trigger needless extra rounds of combine for nothing. NFC

llvm-svn: 317926
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp