[DAG] Consolidate require spill slot logic in lambda. NFC.
authorSerguei Katkov <serguei.katkov@azul.com>
Tue, 7 Apr 2020 04:04:19 +0000 (11:04 +0700)
committerSerguei Katkov <serguei.katkov@azul.com>
Tue, 7 Apr 2020 09:43:47 +0000 (16:43 +0700)
commitb7e3759e177ef2ddc5adaf7951bb6fba1e5533fe
treedca7ad8e96370104f5f16617465ed12457ca8bd6
parent14c1e987546ef161769aa619bb9de21c943721ec
[DAG] Consolidate require spill slot logic in lambda. NFC.

Move the logic whether lowering of deopt value requires a spill slot in
a separate lambda.

Reviewers: reames, dantrushin
Reviewed By: dantrushin
Subscribers: hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D77629
llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp