mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 16:16:45 +00:00
Fix spellnig error
llvm-svn: 51917
This commit is contained in:
parent
3f738eb65b
commit
38dc44ecab
@ -4447,12 +4447,11 @@ SDOperand SelectionDAGLegalize::PromoteOp(SDOperand Op) {
|
||||
|
||||
unsigned VT2 = Tmp2.getValueType();
|
||||
assert(VT2 == Tmp3.getValueType()
|
||||
&& "PromoteOp: Operands 2 and 3 ValueTypes don't match");
|
||||
// Ensure tha NVT is the same as the operands' value types, because we
|
||||
// cannot assume that TLI.getSetCCValueType() is constant.
|
||||
if (NVT != VT2)
|
||||
NVT = VT2;
|
||||
Result = DAG.getNode(ISD::SELECT, NVT, Node->getOperand(0), Tmp2, Tmp3);
|
||||
&& "PromoteOp SELECT: Operands 2 and 3 ValueTypes don't match");
|
||||
// Ensure that the resulting node is at least the same size as the operands'
|
||||
// value types, because we cannot assume that TLI.getSetCCValueType() is
|
||||
// constant.
|
||||
Result = DAG.getNode(ISD::SELECT, VT2, Node->getOperand(0), Tmp2, Tmp3);
|
||||
break;
|
||||
}
|
||||
case ISD::SELECT_CC:
|
||||
|
Loading…
Reference in New Issue
Block a user