ARM function alignments were off by a power of two. svn 83242 changed
authorBob Wilson <bob.wilson@apple.com>
Thu, 1 Jul 2010 22:26:26 +0000 (22:26 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 1 Jul 2010 22:26:26 +0000 (22:26 +0000)
commitb5b5057a709a6dc8e99c6e57bdea89c2b53dd4de
tree654e8ad913851caca52bddb6bc64640e82cbc1d0
parent5e721d768254a920b78b9129d79a84c0163cb3f4
ARM function alignments were off by a power of two.  svn 83242 changed
getFunctionAlignment and the corresponding use of that value in the ARM
asm printer, but now we're using the standard asm printer.  The result of
this was that function alignments were dropped completely for Thumb functions.
Radar 8143571.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107435 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/Thumb/2010-07-01-FuncAlign.ll [new file with mode: 0644]