A couple of bug fixes for reducing load width xform:
authorEvan Cheng <evan.cheng@apple.com>
Fri, 23 Mar 2007 02:16:52 +0000 (02:16 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 23 Mar 2007 02:16:52 +0000 (02:16 +0000)
commit0b063def9809ed59797fd40a616665ac3e675657
treef66484e0f1db9cabfb1aac7f5f5250135a5e0427
parenta03d45fa881b34cfbd1493b1b9cdc36f3fd0927b
A couple of bug fixes for reducing load width xform:
1. Address offset is in bytes.
2. Make sure truncate node uses are replaced with new load.

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