When folding a bitcast into a load or store, preserve the alignment
authorDan Gohman <gohman@apple.com>
Sat, 28 Jun 2008 00:45:22 +0000 (00:45 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 28 Jun 2008 00:45:22 +0000 (00:45 +0000)
commit77455617fbc5e06591187be83aa349f6be8a95f8
tree9beb508daa85d0fc081704ec896c302e20dd8333
parentfd6437f4f929dd7aa5304cc844478d1866f988c2
When folding a bitcast into a load or store, preserve the alignment
information of the original load or store, which is checked to be
at least as good, and possibly better.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52849 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp