ARM: allow misaligned local variables in Thumb1 mode.
authorTim Northover <tnorthover@apple.com>
Tue, 14 Oct 2014 22:12:14 +0000 (22:12 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 14 Oct 2014 22:12:14 +0000 (22:12 +0000)
commit9a4c043d675380904c76caa461741cc450c9831c
treea4ed673e64583c02d6efc0d53109f7aa192b5f6a
parent2f448467e4254ddc3191136c968e6054bc009b88
ARM: allow misaligned local variables in Thumb1 mode.

There's no hard requirement on LLVM to align local variable to 32-bits, so the
Thumb1 frame handling needs to be able to deal with variables that are only
naturally aligned without falling over.

llvm-svn: 219733
llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp
llvm/test/CodeGen/ARM/atomic-op.ll