[LegalizeIntegerTypes] Fix typo in comment. NFC
llvm-svn: 343750
This commit is contained in:
parent
8d53ab5e7a
commit
08ae6774eb
|
|
@ -994,7 +994,7 @@ void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS,
|
|||
// We would prefer to promote the comparison operand with sign extension.
|
||||
// If the width of OpL/OpR excluding the duplicated sign bits is no greater
|
||||
// than the width of NewLHS/NewRH, we can avoid inserting real truncate
|
||||
// instruction, which is redudant eventually.
|
||||
// instruction, which is redundant eventually.
|
||||
unsigned OpLEffectiveBits =
|
||||
OpL.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(OpL) + 1;
|
||||
unsigned OpREffectiveBits =
|
||||
|
|
|
|||
Loading…
Reference in New Issue