Fix address calculation error from r155744.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 30 Apr 2012 20:19:00 +0000 (20:19 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 30 Apr 2012 20:19:00 +0000 (20:19 +0000)
commit887d095fb6c6fb0980ab90a9211fb2420d0da7c0
treeba04dea17aff266a5aa9470836f4e0a365b10d38
parente4f1b370bfbebcb88092caec54450e90f37c100d
Fix address calculation error from r155744.

This was exposed by SingleSource/UnitTests/Vector/constpool.c.

The computed size of a basic block isn't always a multiple of its known
alignment, and that can introduce extra alignment padding after the
block.

<rdar://problem/11347135>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155845 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMConstantIslandPass.cpp