]> granicus.if.org Git - llvm/commit
[mips] dla expansion without the at register
authorSimon Dardis <simon.dardis@imgtec.com>
Mon, 6 Feb 2017 12:43:46 +0000 (12:43 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Mon, 6 Feb 2017 12:43:46 +0000 (12:43 +0000)
commit16291a2e6d89d9cbc51eb097dae5ec5712eac67e
tree197848856c1bbde7a2efc37ab2491fe6338b4d2c
parent65469277ca0b1d47fbce061ebd3b3c752a8836cb
[mips] dla expansion without the at register

Previously only the superscalar scheduled expansion of the dla macro for
MIPS64 was implemented. If assembler temporary register is not available
and the optional source register is not the destination register, synthesize
the address using the naive solution of adds and shifts.

This partially resolves PR/30383.

Thanks to Sean Bruno for reporting the issue!

Reviewers: slthakur, seanbruno

Differential Revision: https://reviews.llvm.org/D29328

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294182 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
test/MC/Mips/macro-dla.s