OSDN Git Service

Provide two overloads of AnalyzeNewNode.
authorGabor Greif <ggreif@gmail.com>
Mon, 1 Sep 2008 15:10:19 +0000 (15:10 +0000)
committerGabor Greif <ggreif@gmail.com>
Mon, 1 Sep 2008 15:10:19 +0000 (15:10 +0000)
commited63214fcbebcaf989dbc6a5bf7c3b6df67732f5
treed92dfb001f3041e66ca3409445a884b4cf387103
parent1189f3ac3b84063f1569eddeacfcb3b79bc25c69
Provide two overloads of AnalyzeNewNode.

The first can update the SDNode in an SDValue
while the second is called with SDNode* and
returns a possibly updated SDNode*.

This patch has no intended functional impact,
but helps eliminating ugly temporary SDValues.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55608 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h