HomePhabricator

[mips] Move initGlobalBaseReg to MipsFunctionInfo. NFC

Authored by Petar.Avramovic on May 31 2019, 1:15 AM.

Description

[mips] Move initGlobalBaseReg to MipsFunctionInfo. NFC

Move initGlobalBaseReg from MipsSEDAGToDAGISel to MipsFunctionInfo.
This way functions used for handling position independent code during
instruction selection, getGlobalBaseReg and initGlobalBaseReg,
end up in same class.

Differential Revision: https://reviews.llvm.org/D62586

llvm-svn: 362206