Fix a bad prologue / epilogue codegen bug where the compiler would emit illegal
authorEvan Cheng <evan.cheng@apple.com>
Tue, 7 Dec 2010 23:08:38 +0000 (23:08 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 7 Dec 2010 23:08:38 +0000 (23:08 +0000)
commit06d65f515638dc996a4ecaf2a9692475aa4b46e3
tree6cc21bec33c22c402888dfda54a86f7709818d86
parent997759ac22dc1de6f324b1c09c0a2a558236c489
Fix a bad prologue / epilogue codegen bug where the compiler would emit illegal
vpush instructions to save / restore VFP / NEON registers like this:
vpush {d8,d10,d11}
vpop {d8,d10,d11}

vpush and vpop do not allow gaps in the register list.
rdar://8728956

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121197 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFrameInfo.cpp
lib/Target/ARM/ARMFrameInfo.h
test/CodeGen/ARM/2010-12-07-PEIBug.ll [new file with mode: 0644]