[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)
commit000e7d10e877f9c62730c4210cb5df3a18c9b905
tree5aededee3dcea8955496ea517bb731f6417ed0b3
parent7aab5ee93d7d8d1227f498b1e4bc1e893ca455dd
[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

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