Fix bug where ReduceLoadWidth was creating illegal ZEXTLOAD instructions.
authorRichard Osborne <richard@xmos.com>
Mon, 31 Jan 2011 17:41:44 +0000 (17:41 +0000)
committerRichard Osborne <richard@xmos.com>
Mon, 31 Jan 2011 17:41:44 +0000 (17:41 +0000)
commit4e3740ee6ddfc5895061245364de21e3f73517fe
treef6c7135d55a72babcac2a2f2a4b920878d39cb40
parente85dcb54d1a2bb957a430212b1f2b1c88553878a
Fix bug where ReduceLoadWidth was creating illegal ZEXTLOAD instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124587 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/XCore/2011-01-31-DAGCombineBug.ll [new file with mode: 0644]