diff options
| author | Akira Hatanaka <ahatanaka@mips.com> | 2012-05-16 22:19:56 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-05-16 22:19:56 +0000 |
| commit | 0faaebf27cf08a5822684b751ae7a0ccf467fbe1 (patch) | |
| tree | 738bcb3f577b4f05cd1e3b8f81e327eeceb7123c /clang/utils | |
| parent | 01152f9c63ee9281956011a14e84df7fd84f4c60 (diff) | |
| download | bcm5719-llvm-0faaebf27cf08a5822684b751ae7a0ccf467fbe1.tar.gz bcm5719-llvm-0faaebf27cf08a5822684b751ae7a0ccf467fbe1.zip | |
This patch adds the register class for MIPS16 as well as the ability for
llc to recognize MIPS16 as a MIPS ASE extension. -mips16 will mean the
mips16 ASE for mips32 by default.
As part of fixing of adding this we discovered some small changes that
need to be made to MipsInstrInfo::storeRegToStackSLot and
MipsInstrInfo::loadRegFromStackSlot. We were using some "==" equality tests
where in fact we should have been using Mips::<regclas>.hasSubClassEQ instead,
per suggestion of Jakob Stoklund Olesen.
Patch by Reed Kotler.
llvm-svn: 156958
Diffstat (limited to 'clang/utils')
0 files changed, 0 insertions, 0 deletions

