llvm-6502/lib
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
..
Analysis Use the attribute enums to query if a function has an attribute. 2012-10-09 21:49:51 +00:00
Archive Mark checkSignature const, and in turn stop casting away const from 2012-09-05 22:09:23 +00:00
AsmParser Use the enum value of the attributes when removing them from the attributes builder. 2012-10-09 09:17:28 +00:00
Bitcode Use method to query if there are attributes. 2012-10-04 07:19:46 +00:00
CodeGen Issue description: 2012-10-10 11:37:36 +00:00
DebugInfo Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-18 02:01:41 +00:00
ExecutionEngine Adding comments to clarify the reason for non-standard style in these files. 2012-10-10 01:48:52 +00:00
Linker Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
MC Whitespace. 2012-10-09 20:15:02 +00:00
Object Cosmetic changes 2012-10-10 01:45:52 +00:00
Support Enable response files in all tools. Patch by Liu, Yaxun (Sam). I have simplified 2012-10-09 19:52:10 +00:00
TableGen tblgen: Rename handleDependencies -> createDependencyFile 2012-10-09 20:39:28 +00:00
Target Fix for LDRB instruction: 2012-10-10 11:43:40 +00:00
Transforms Remove the final bits of Attributes being declared in the Attribute 2012-10-10 07:36:45 +00:00
VMCore Cleanup. Get rid of now dead code. 2012-10-10 08:03:34 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile