projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SDAG] Fix a result chain in ExpandUnalignedLoad
[oota-llvm.git]
/
lib
/
CodeGen
/
SelectionDAG
/
LegalizeDAG.cpp
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index a253faa976028912ef345a95f1cb6ca430a3968e..79efa2433ea3ba56466f8987c3cd1ab6e3cdda3d 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-439,7
+439,7
@@
ExpandUnalignedLoad(LoadSDNode *LD, SelectionDAG &DAG,
ISD::ANY_EXTEND, dl, VT, Result);
ValResult = Result;
- ChainResult =
Chain
;
+ ChainResult =
newLoad.getValue(1)
;
return;
}