This is an archive of the discontinued LLVM Phabricator instance.

[mips] Move initGlobalBaseReg to MipsFunctionInfo. NFC
ClosedPublic

Authored by Petar.Avramovic on May 29 2019, 6:35 AM.

Details

Summary

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.

Diff Detail