OSDN Git Service

[DAGCombiner] Make tryToFoldExtendOfConstant return an SDValue instead of an SDNode...
authorCraig Topper <craig.topper@intel.com>
Sat, 10 Nov 2018 23:46:03 +0000 (23:46 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 10 Nov 2018 23:46:03 +0000 (23:46 +0000)
commitd30e1011b80dfef19e0a6171c2a53cd3cd08741e
tree993d437344062170735878698da3f36c720eac26
parent7c38906deac43e7da810bcf016e105b8c4e2be6e
[DAGCombiner] Make tryToFoldExtendOfConstant return an SDValue instead of an SDNode*. NFC

Removes the need to call getNode internally and to recreate an SDValue after the call.

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