Stepan Dyatkovskiy 2c2cb3c09f Fix for LDRB instruction:
SDNode for LDRB_POST_IMM is invalid: number of registers added to SDNode fewer
that described in .td.

7 ops is needed, but SDNode with only 6 is created.

In more details:
In ARMInstrInfo.td, in multiclass AI2_ldridx, in definition _POST_IMM, offset
operand is defined as am2offset_imm. am2offset_imm is complex parameter type,
and actually it consists from dummy register and imm itself. As I understood
trick with dummy reg was made for AsmParser. In ARMISelLowering.cpp, this dummy
register was not added to SDNode, and it cause crash in Peephole Optimizer pass.

The problem fixed by setting up additional dummy reg when emitting
LDRB_POST_IMM instruction.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165617 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-10 11:43:40 +00:00
..
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-04-10 03:15:42 +00:00
2012-06-11 08:07:26 +00:00
2012-02-28 02:08:50 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:27:31 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-06-15 21:32:12 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00