[SelectionDAG] Make an argument optional in RFV::getCopyToRegs. NFC.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 5 May 2015 23:06:57 +0000 (23:06 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 5 May 2015 23:06:57 +0000 (23:06 +0000)
commit1194d1e799c71ad8fbaac09b782949624c4be3c5
tree42b0d9552b0e0414016e13f6dd61fd335f6546a0
parent3936a97f11b48ee9f194461937906dc6d26abad0
[SelectionDAG] Make an argument optional in RFV::getCopyToRegs.  NFC.

Summary:
We default the value argument to nullptr.  The only use of the value is
in diagnosePossiblyInvalidConstraint and that seems to be resilient to
it being nullptr.

Reviewers: atrick, reames

Subscribers: llvm-commits

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

llvm-svn: 236555
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h