change dag isel emitter to only call 'IsProfitableToFold' on nodes
authorChris Lattner <sabre@nondot.org>
Tue, 16 Feb 2010 19:03:34 +0000 (19:03 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 Feb 2010 19:03:34 +0000 (19:03 +0000)
commit29c6270328cf1dad1dee063990015a4c9b583e1f
treed66563680feebf0b83a670eb5f105f47f3f9af91
parent1665b0a2246c83a2c123be105a1a167cf2b423fe
change dag isel emitter to only call 'IsProfitableToFold' on nodes
with chains.  On interior nodes that lead up to them, we just directly
check that there is a single use.  This generates slightly more
efficient code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96366 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/DAGISelEmitter.cpp