diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-05-22 03:10:09 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-05-22 03:10:09 +0000 |
commit | cdf4fd8267b7a573d82390522db4fa0fe5ba4421 (patch) | |
tree | 6fc1b2e4388cc30385ea95bd4cfbe9a978af0200 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ede15af6993f2044a25bac2721b21223292b703a (diff) | |
download | llvm-cdf4fd8267b7a573d82390522db4fa0fe5ba4421.zip llvm-cdf4fd8267b7a573d82390522db4fa0fe5ba4421.tar.gz llvm-cdf4fd8267b7a573d82390522db4fa0fe5ba4421.tar.bz2 |
This patch adds a predicate to existing mips32 and mips64 so that those
instruction encodings can be excluded during mips16 processing.
This revision fixes the issue raised by Jim Grosbach.
bool hasStandardEncoding() const { return !inMips16Mode(); }
When micromips is added it will be
bool StandardEncoding() const { return !inMips16Mode()&& !inMicroMipsMode(); }
No additional testing is needed other than to assure that there is no regression
from this patch.
Patch by Reed Kotler.
llvm-svn: 157234
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions