diff options
| author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-07-14 12:24:22 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-07-14 12:24:22 +0000 |
| commit | 03f9c019d288b24b10a79893bce7b5794b3bf007 (patch) | |
| tree | 7a25da388dde1f964dd2c7401a46942cb5a5f823 /clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp | |
| parent | ea40cee24d8b7aed0ded49c3bab0d5a9791b886b (diff) | |
| download | bcm5719-llvm-03f9c019d288b24b10a79893bce7b5794b3bf007.tar.gz bcm5719-llvm-03f9c019d288b24b10a79893bce7b5794b3bf007.zip | |
[mips] Fix li/la differences between IAS and GAS.
Summary:
- Signed 16-bit should have priority over unsigned.
- For la, unsigned 16-bit must use ori+addu rather than directly use ori.
- Correct tests on 32-bit immediates with 64-bit predicates by
sign-extending the immediate beforehand. For example, isInt<16>(0xffff8000)
should be true and use addiu.
Also split li/la testing into separate files due to their size.
Reviewers: vkalintiris
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D10967
llvm-svn: 242139
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp')
0 files changed, 0 insertions, 0 deletions

