[RegisterBankInfo] Take advantage of the extra argument of SmallVector::resize.
authorQuentin Colombet <qcolombet@apple.com>
Thu, 22 Sep 2016 02:10:32 +0000 (02:10 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Thu, 22 Sep 2016 02:10:32 +0000 (02:10 +0000)
commitb202eb88aaff70c053f392c974d32edb75bec92c
tree831708f6b7ff216373199b1738ad81508c9fdf21
parent624f59f4d8ecc5021e87b5ea96cb76b035e94fca
[RegisterBankInfo] Take advantage of the extra argument of SmallVector::resize.

When initializing an instance of OperandsMapper, instead of using
SmallVector::resize followed by std::fill, use the function that
directly does that in SmallVector.

llvm-svn: 282130
llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp