diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2017-02-13 16:06:48 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2017-02-13 16:06:48 +0000 |
commit | 509da1a46da008e198ee4ba69ecb3bc004d6beb3 (patch) | |
tree | 666be676116c116b7cd8a5026d3774a69c1805ac /llvm/tools/llvm-lto2/llvm-lto2.cpp | |
parent | fd6a84fbaa407635ec920d7002fd087c8b281dd6 (diff) | |
download | bcm5719-llvm-509da1a46da008e198ee4ba69ecb3bc004d6beb3.tar.gz bcm5719-llvm-509da1a46da008e198ee4ba69ecb3bc004d6beb3.zip |
[mips] divide macro instruction cleanup.
Clean up the implementation of divide macro expansion by getting rid of a
FIXME regarding magic numbers and branch instructions. Match GAS' behaviour
for expansion of ddiv / div in the two and three operand cases. Add the two
operand alias for MIPSR6. Finally, optimize macro expansion cases where the
divisior is the $zero register.
Reviewers: slthakur
Differential Revision: https://reviews.llvm.org/D29887
llvm-svn: 294960
Diffstat (limited to 'llvm/tools/llvm-lto2/llvm-lto2.cpp')
0 files changed, 0 insertions, 0 deletions