Skip to content

Commit cfeb596

Browse files
committed
ValueTracking: address review
1 parent 8208cb8 commit cfeb596

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Analysis/ValueTracking.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ static void computeKnownBitsFromOperator(const Operator *I,
15441544
break;
15451545
}
15461546

1547-
// Check for operations with the propperty that the magnitude of the
1547+
// Check for operations with the property that the magnitude of the
15481548
// result will never exceed that of the start value.
15491549
case Instruction::UDiv:
15501550
case Instruction::URem: {
@@ -9012,7 +9012,7 @@ bool llvm::matchSimpleRecurrence(const PHINode *P, BinaryOperator *&BO,
90129012
switch (Opcode) {
90139013
default:
90149014
continue;
9015-
// TODO: Expand list -- sdiv, srem, fadd etc.
9015+
// TODO: Expand list -- xor, gep, uadd.sat etc.
90169016
case Instruction::LShr:
90179017
case Instruction::AShr:
90189018
case Instruction::Shl:

0 commit comments

Comments
 (0)