mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +00:00
When widening a vector load, use the correct chain. This fixes PR4891.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1678,7 +1678,7 @@ SDValue DAGTypeLegalizer::WidenVecRes_LOAD(SDNode *N) {
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user