[LegalizeIntegerTypes] Fix typo in comment. NFC

llvm-svn: 343750
This commit is contained in:
Craig Topper 2018-10-04 02:40:35 +00:00
parent 8d53ab5e7a
commit 08ae6774eb
1 changed files with 1 additions and 1 deletions

View File

@ -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 =