Fix comparisons of alloca alignment in inliner merging
authorHal Finkel <hfinkel@anl.gov>
Wed, 17 Jul 2013 14:32:41 +0000 (14:32 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 17 Jul 2013 14:32:41 +0000 (14:32 +0000)
commit86f4f6526b18765cdb78bee593e1354bc9f55085
tree278a13bbe43ee4dd5e75431ee9361e8b6182aa41
parent16f385f90f481195bfcf6b139ced4cee033bb887
Fix comparisons of alloca alignment in inliner merging

Duncan pointed out a mistake in my fix in r186425 when only one of the allocas
being compared had the target-default alignment. This is essentially his
suggested solution. Thanks!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186510 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/Inliner.cpp
test/Transforms/Inline/alloca-merge-align.ll