[llvm-branch-commits] [llvm-branch] r81411 - in /llvm/branches/release_26: lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp test/CodeGen/X86/widen_load-0.ll test/CodeGen/X86/widen_load-1.ll
Tanya Lattner
tonic at nondot.org
Wed Sep 9 17:20:28 PDT 2009
Author: tbrethou
Date: Wed Sep 9 19:20:28 2009
New Revision: 81411
URL: http://llvm.org/viewvc/llvm-project?rev=81411&view=rev
Log:
Merge 81343 from mainline.
When widening a vector load, use the correct chain. This fixes PR4891.
Added:
llvm/branches/release_26/test/CodeGen/X86/widen_load-0.ll
- copied unchanged from r81343, llvm/trunk/test/CodeGen/X86/widen_load-0.ll
llvm/branches/release_26/test/CodeGen/X86/widen_load-1.ll
- copied unchanged from r81343, llvm/trunk/test/CodeGen/X86/widen_load-1.ll
Modified:
llvm/branches/release_26/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Modified: llvm/branches/release_26/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_26/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp?rev=81411&r1=81410&r2=81411&view=diff
==============================================================================
--- llvm/branches/release_26/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp (original)
+++ llvm/branches/release_26/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp Wed Sep 9 19:20:28 2009
@@ -1665,7 +1665,7 @@
// Modified the chain - switch anything that used the old chain to use
// the new one.
- ReplaceValueWith(SDValue(N, 1), Chain);
+ ReplaceValueWith(SDValue(N, 1), NewChain);
return Result;
}
More information about the llvm-branch-commits
mailing list