A doccomment for CombineTo, and some NFC refactorings
authorArtyom Skrobov <Artyom.Skrobov@arm.com>
Wed, 14 Oct 2015 17:18:35 +0000 (17:18 +0000)
committerArtyom Skrobov <Artyom.Skrobov@arm.com>
Wed, 14 Oct 2015 17:18:35 +0000 (17:18 +0000)
commitd27f5c0eb0a3ffa87042858b4f74074d26b603f0
tree2bc2ee36ab871c6d28b1a419013ccafde84d505b
parentd86f867e9ee9b6055f91565a195c69ae15eceac7
A doccomment for CombineTo, and some NFC refactorings

Summary:
Caching SDLoc(N), instead of recreating it in every single
function call, keeps the code denser, and allows to unwrap long lines.

Reviewers: sunfish, atrick, sdmitrouk

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D13726

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