ARM: correctly align constant pool value on Thumb1 targets.
authorTim Northover <tnorthover@apple.com>
Fri, 2 Oct 2015 18:07:13 +0000 (18:07 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 2 Oct 2015 18:07:13 +0000 (18:07 +0000)
commit6e8613fb75068a1d91663e5362e974bfebbff721
treeaec610186497163d63ce75b551007774dc9d041f
parent64bfc0ae9d1563692621c876d8307f931c50fe86
ARM: correctly align constant pool value on Thumb1 targets.

Since we're using tLDRpci to access it, the constant pool's address must be 0
(mod 4).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249163 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFrameLowering.cpp
test/CodeGen/Thumb/segmented-stacks.ll