aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-05-22 03:10:09 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-05-22 03:10:09 +0000
commitcdf4fd8267b7a573d82390522db4fa0fe5ba4421 (patch)
tree6fc1b2e4388cc30385ea95bd4cfbe9a978af0200 /clang/lib/Frontend/CompilerInvocation.cpp
parentede15af6993f2044a25bac2721b21223292b703a (diff)
downloadllvm-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