summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86AsmPrinter.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-11-12 21:32:41 +0000
committerTim Northover <tnorthover@apple.com>2013-11-12 21:32:41 +0000
commit8eaf1543e58b6d0832bb9852ee6fa93915c2aa3b (patch)
tree9c7e656936fba5ace4b4bdde6b1f806e63ffaaa9 /llvm/lib/Target/X86/X86AsmPrinter.cpp
parentd748e29cd9f2eb7809ddb49eeee731ab0f5ec098 (diff)
downloadbcm5719-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 'llvm/lib/Target/X86/X86AsmPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud