diff options
author | Petar Jovanovic <petar.jovanovic@mips.com> | 2019-02-22 14:53:58 +0000 |
---|---|---|
committer | Petar Jovanovic <petar.jovanovic@mips.com> | 2019-02-22 14:53:58 +0000 |
commit | 6083106b1216566f189ecb6e0ae0340b61c4254a (patch) | |
tree | bf7fa8102b426cdaff28ff67fc576e95d23d9c86 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 3167b3035e8a7fc9c96e00f8e7aad9de218cd0b8 (diff) | |
download | llvm-6083106b1216566f189ecb6e0ae0340b61c4254a.zip llvm-6083106b1216566f189ecb6e0ae0340b61c4254a.tar.gz llvm-6083106b1216566f189ecb6e0ae0340b61c4254a.tar.bz2 |
[mips][micromips] fix filling delay slots for PseudoIndirectBranch_MM
Filling a delay slot in 32bit jump instructions with a 16bit instruction
can cause issues. According to the documentation such an operation is
unpredictable.
This patch adds opcode Mips::PseudoIndirectBranch_MM alongside
Mips::PseudoIndirectBranch and other instructions that are expanded to jr
instruction and do not allow a 16bit instruction in their delay slots.
Patch by Mirko Brkusanin.
Differential Revision: https://reviews.llvm.org/D58507
llvm-svn: 354672
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions