Fix a bug from r1.391 of this file, where we checked the size instead of
authorChris Lattner <sabre@nondot.org>
Sun, 1 Oct 2006 19:40:58 +0000 (19:40 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 1 Oct 2006 19:40:58 +0000 (19:40 +0000)
commite831b9a48bcf6f136044f1aed509eee3dee7d9d4
tree8b818d3b0fda3fa42231fd209cfda8bf1ec94b95
parent537cf962d1133bcb7fdfee09eb6e00145db37274
Fix a bug from r1.391 of this file, where we checked the size instead of
the alignment when promoting allocations.  This implements
InstCombine/cast.ll:test32

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