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 | 8eaf1543e58b6d0832bb9852ee6fa93915c2aa3b (patch) | |
tree | 9c7e656936fba5ace4b4bdde6b1f806e63ffaaa9 /clang/test/CodeGen/builtins-arm.c | |
parent | d748e29cd9f2eb7809ddb49eeee731ab0f5ec098 (diff) | |
download | bcm5719-llvm-8eaf1543e58b6d0832bb9852ee6fa93915c2aa3b.tar.gz bcm5719-llvm-8eaf1543e58b6d0832bb9852ee6fa93915c2aa3b.zip |
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
llvm-svn: 194512
Diffstat (limited to 'clang/test/CodeGen/builtins-arm.c')
0 files changed, 0 insertions, 0 deletions