llvm-6502/lib
Bob Wilson d4bfd54ec2 Change ARM VFP VLDM/VSTM instructions to use addressing mode #4, just like
all the other LDM/STM instructions.  This fixes asm printer crashes when
compiling with -O0.  I've changed one of the NEON tests (vst3.ll) to run
with -O0 to check this in the future.

Prior to this change VLDM/VSTM used addressing mode #5, but not really.
The offset field was used to hold a count of the number of registers being
loaded or stored, and the AM5 opcode field was expanded to specify the IA
or DB mode, instead of the standard ADD/SUB specifier.  Much of the backend
was not aware of these special cases.  The crashes occured when rewriting
a frameindex caused the AM5 offset field to be changed so that it did not
have a valid submode.  I don't know exactly what changed to expose this now.
Maybe we've never done much with -O0 and NEON.  Regardless, there's no longer
any reason to keep a count of the VLDM/VSTM registers, so we can use
addressing mode #4 and clean things up in a lot of places.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112322 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-27 23:18:17 +00:00
..
Analysis When merging adjacent operands, scan ahead and merge all equal 2010-08-27 21:39:59 +00:00
Archive Eliminate some unnessary Path::exists() calls. 2010-05-27 20:51:54 +00:00
AsmParser Add a comment explaining why this code doesn't just call 2010-08-24 14:35:45 +00:00
Bitcode Add a FIXME comment. 2010-08-25 20:23:38 +00:00
CodeGen Simplify. 2010-08-27 22:25:51 +00:00
CompilerDriver Add a TODO. 2010-08-23 19:24:12 +00:00
ExecutionEngine remove some dead code. 2010-08-23 03:12:06 +00:00
Linker Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00
MC MCELF: Port EmitInstruction changes from MachO streamer. Patch by Roman Divacky. 2010-08-27 10:40:51 +00:00
Support StringRef::compare_numeric also differed from StringRef::compare for characters > 127. 2010-08-26 15:25:35 +00:00
System Fix --disable-threads build, PR7949. 2010-08-20 20:54:37 +00:00
Target Change ARM VFP VLDM/VSTM instructions to use addressing mode #4, just like 2010-08-27 23:18:17 +00:00
Transforms Enhance the shift propagator to handle the case when you have: 2010-08-27 22:53:44 +00:00
VMCore Add alignment arguments to all the NEON load/store intrinsics. 2010-08-27 17:13:24 +00:00
Makefile