summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-07-14 12:24:22 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-07-14 12:24:22 +0000
commit03f9c019d288b24b10a79893bce7b5794b3bf007 (patch)
tree7a25da388dde1f964dd2c7401a46942cb5a5f823 /clang
parentea40cee24d8b7aed0ded49c3bab0d5a9791b886b (diff)
downloadbcm5719-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud