1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/lib/Target/ARM/InstPrinter
Quentin Colombet 226206b401 ARM: Correct printing of pre-indexed operands.
According to the ARM reference manual, constant offsets are mandatory for pre-indexed addressing modes.
The MC disassembler was not obeying this when the offset is 0.
It was producing instructions like: str r0, [r1]!.
Correct syntax is: str r0, [r1, #0]!.

This change modifies the dumping of operands so that the offset is always printed, regardless of its value, when pre-indexed addressing mode is used.

Patch by Mihail Popa <Mihail.Popa@arm.com>

llvm-svn: 179398
2013-04-12 18:47:25 +00:00
..
ARMInstPrinter.cpp ARM: Correct printing of pre-indexed operands. 2013-04-12 18:47:25 +00:00
ARMInstPrinter.h ARM: Correct printing of pre-indexed operands. 2013-04-12 18:47:25 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile