[mips] Move MipsTargetLowering::MipsCC::regSize() to MipsSubtarget::getGPRSizeInBytes()
authorDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 9 Sep 2014 12:11:16 +0000 (12:11 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 9 Sep 2014 12:11:16 +0000 (12:11 +0000)
commit052538124fc45e6d90e8678b130e819472612151
treea642cf64cf225fa78e3e0678a6b3200d845c70a5
parent586994a74eee140536660187d9d1b4f75b4b66a1
[mips] Move MipsTargetLowering::MipsCC::regSize() to MipsSubtarget::getGPRSizeInBytes()

Summary:
The GPR size is more a property of the subtarget than that of the ABI so move
this information to the MipsSubtarget.

No functional change.

Reviewers: vmedic

Reviewed By: vmedic

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D5009

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217436 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsISelLowering.h
lib/Target/Mips/MipsSubtarget.h