aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorMatheus Almeida <matheus.almeida@imgtec.com>2014-06-18 14:49:56 +0000
committerMatheus Almeida <matheus.almeida@imgtec.com>2014-06-18 14:49:56 +0000
commit78f8b7b652e53b550af78344919c7b61d38b68b6 (patch)
treea6bbebc515a9726c86fe18ca12adc36a3c46d6be /llvm/lib/Object/ELFObjectFile.cpp
parent7de68e77aa5b994ed28a46a4d792a97ef50ef822 (diff)
downloadllvm-78f8b7b652e53b550af78344919c7b61d38b68b6.zip
llvm-78f8b7b652e53b550af78344919c7b61d38b68b6.tar.gz
llvm-78f8b7b652e53b550af78344919c7b61d38b68b6.tar.bz2
[mips] Fix expansion of memory operation if destination register is not a GPR.
Summary: The assembler tries to reuse the destination register for memory operations whenever it can but it's not possible to do so if the destination register is not a GPR. Example: ldc1 $f0, sym should expand to: lui $at, %hi(sym) ldc1 $f0, %lo(sym)($at) It's entirely wrong to expand to: lui $f0, %hi(sym) ldc1 $f0, %lo(sym)($f0) Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D4173 llvm-svn: 211169
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions