diff options
| author | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-06-13 13:02:52 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-06-13 13:02:52 +0000 |
| commit | 21ed78f564ff3750690204c78cb870f95104ea58 (patch) | |
| tree | 5e56b5fca940314e2523a1e46d0516a4845572ab /lib/Bitcode/Writer/BitWriter.cpp | |
| parent | 21c016f6996df1c13ea6f1f727de8b9b8cbecebe (diff) | |
| download | llvm-21ed78f564ff3750690204c78cb870f95104ea58.tar.gz llvm-21ed78f564ff3750690204c78cb870f95104ea58.tar.bz2 llvm-21ed78f564ff3750690204c78cb870f95104ea58.tar.xz | |
[mips][mips64r6] b(ge|lt)zal are not available on MIPS32r6/MIPS64r6 and bal is a normal instruction
Summary:
b(ge|lt)zal have been removed in MIPS32r6/MIPS64r6. However, bal (an alias
for 'bgezal $zero, $offset') still remains with the same encoding it had
prior to MIPS32r6/MIPS64r6.
Updated the MipsNaCLELFStreamer, and MipsLongBranch to correctly handle the
MIPS32r6/MIPS64r6 BAL instruction in addition to the existing BAL_BR pseudo.
No changes were required to the CodeGen test that looks for BAL
(test/CodeGen/Mips/longbranch.ll) since the new instruction has the same
syntax.
Depends on D4113
Reviewers: jkolek, zoran.jovanovic, vmedic
Reviewed By: vmedic
Differential Revision: http://reviews.llvm.org/D4114
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210898 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitWriter.cpp')
0 files changed, 0 insertions, 0 deletions
