diff options
author | Craig Topper <craig.topper@intel.com> | 2018-10-04 02:40:35 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-10-04 02:40:35 +0000 |
commit | 08ae6774eb8885d482ad928d6f92337e6b6293d0 (patch) | |
tree | b616902418f205155bdf338b3c11cc3843375e94 /llvm/lib | |
parent | 8d53ab5e7a6009634165a6419a10f24c1b6e51ed (diff) | |
download | bcm5719-llvm-08ae6774eb8885d482ad928d6f92337e6b6293d0.tar.gz bcm5719-llvm-08ae6774eb8885d482ad928d6f92337e6b6293d0.zip |
[LegalizeIntegerTypes] Fix typo in comment. NFC
llvm-svn: 343750
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp index 68b73807e9a..e11a18fd0c4 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp @@ -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 = |