aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorMatheus Almeida <matheus.almeida@imgtec.com>2014-06-18 14:15:42 +0000
committerMatheus Almeida <matheus.almeida@imgtec.com>2014-06-18 14:15:42 +0000
commit29e254f849de528fab014156a484aa5fbbe5128c (patch)
tree4214ab33f19372780128f8af987e21a4c43a2891 /llvm/lib/Object/ELFObjectFile.cpp
parentf10a7c963bb9f7e42dacebfaa035388e3200cb92 (diff)
downloadllvm-29e254f849de528fab014156a484aa5fbbe5128c.zip
llvm-29e254f849de528fab014156a484aa5fbbe5128c.tar.gz
llvm-29e254f849de528fab014156a484aa5fbbe5128c.tar.bz2
[mips] Access $at only if necessary.
Summary: This patch doesn't really change the logic behind expandMemInst but it allows us to assemble .S files that use .set noat with some macros. For example: .set noat lw $k0, offset($k1) Can expand to: lui $k0, %hi(offset) addu $k0, $k0, $k1 lw $k0, %lo(offset)($k0) with no need to access $at. Reviewers: dsanders, vmedic Reviewed By: dsanders, vmedic Differential Revision: http://reviews.llvm.org/D4159 llvm-svn: 211165
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions