mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fix some typos that can cause a flag value to have more than one use.
llvm-svn: 30727
This commit is contained in:
parent
ba99215347
commit
5974db9813
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user