OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c055a91
)
Fix some typos that can cause a flag value to have more than one use.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 4 Oct 2006 22:23:53 +0000
(22:23 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 4 Oct 2006 22:23:53 +0000
(22:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30727
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index
d6dcf48
..
1d2b25a
100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-1777,8
+1777,8
@@
SDOperand RegsForValue::getCopyFromRegs(SelectionDAG &DAG,
assert(Regs.size() == 2 &&
"Cannot expand to more than 2 elts yet!");
SDOperand Hi = DAG.getCopyFromReg(Chain, Regs[1], RegVT, Flag);
- Chain =
Val
.getValue(1);
- Flag =
Val
.getValue(2);
+ Chain =
Hi
.getValue(1);
+ Flag =
Hi
.getValue(2);
if (DAG.getTargetLoweringInfo().isLittleEndian())
return DAG.getNode(ISD::BUILD_PAIR, ValueVT, Val, Hi);
else