diff options
| author | Tim Northover <tnorthover@apple.com> | 2013-11-12 21:32:41 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2013-11-12 21:32:41 +0000 |
| commit | 59e648e3c8966e0678902a2994558f25c8573ce4 (patch) | |
| tree | f5ba89454cb1bd0e34536a5cb9a3d6f616f2d712 /lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | d4765aa047c43dc0ce2c4a6a3ccdb91b8fa73c51 (diff) | |
| download | llvm-59e648e3c8966e0678902a2994558f25c8573ce4.tar.gz llvm-59e648e3c8966e0678902a2994558f25c8573ce4.tar.bz2 llvm-59e648e3c8966e0678902a2994558f25c8573ce4.tar.xz | |
ARM: diagnose invalid system LDM/STM
The system LDM and STM instructions can't usually writeback to the base
register. The one exception is when an LDM is actually an exception-return
(i.e. contains PC in the register list).
(There's already a test that "ldm sp!, {r0-r3, pc}^" works, which is why there
is no positive test).
rdar://problem/15223374
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
