Fix a bug where we would 'promote' an allocation from one type to another
authorChris Lattner <sabre@nondot.org>
Mon, 24 Oct 2005 06:26:18 +0000 (06:26 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 24 Oct 2005 06:26:18 +0000 (06:26 +0000)
commit18e78bb09eb04df4833f869357757fa379b13db9
tree27d046e6ce4eb5ae0e038cd8449af4556598df1d
parentb53c2382a9a56e7dd210d6798e97b7aee4d9ac5d
Fix a bug where we would 'promote' an allocation from one type to another
where the second has less alignment required.  If we had explicit alignment
support in the IR, we could handle this case, but we can't until we do.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23960 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp