Fix a potential bug with two combine-to's back to back that chris pointed
authorNate Begeman <natebegeman@mac.com>
Wed, 12 Oct 2005 23:18:53 +0000 (23:18 +0000)
committerNate Begeman <natebegeman@mac.com>
Wed, 12 Oct 2005 23:18:53 +0000 (23:18 +0000)
commit765784ad760ee6cc504d79e4966c272387c313f8
treee0f651e36f6f372cef2cbebae9c9f0cc15fc68cd
parent3df4d525c58d5db878eaadcfdcffbbfca96dd6a2
Fix a potential bug with two combine-to's back to back that chris pointed
out, where after the first CombineTo() call, the node the second CombineTo
wishes to replace may no longer exist.

Fix a very real bug with the truncated load optimization on little endian
targets, which do not need a byte offset added to the load.

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