[IRTranslator] Update getOrCreateVReg API to use references.
authorQuentin Colombet <qcolombet@apple.com>
Fri, 11 Mar 2016 17:27:54 +0000 (17:27 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Fri, 11 Mar 2016 17:27:54 +0000 (17:27 +0000)
commite225e2541b59f77bec8585a58dad848295395f43
tree6eb797558f8116be01c4dcf9b0d3faeb533b7619
parent000b580b130437454b9e2f194cd7a9bbc437cdca
[IRTranslator] Update getOrCreateVReg API to use references.
A value that we want to keep in a virtual register cannot be null.
Reflect that in the API.

llvm-svn: 263263
llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp