Skip to content

Commit f4af43a

Browse files
committed
Fix typo
1 parent dfd4bdf commit f4af43a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,8 @@ Instruction *InstCombinerImpl::foldSelectIntoOp(SelectInst &SI, Value *TrueVal,
550550
// inf and the flag only guarantees that FalseVal (op OOp) is never
551551
// infinity.
552552
// Examples: -inf + +inf = NaN, -inf - -inf = NaN, 0 * inf = NaN
553-
// Specially, if the original select has both ninf and nnan, we can safely
554-
// propagate the flag.
553+
// Specifically, if the original select has both ninf and nnan, we can
554+
// safely propagate the flag.
555555
NewSelFMF.setNoInfs(TVI->hasNoInfs() ||
556556
(NewSelFMF.noInfs() && NewSelFMF.noNaNs()));
557557
cast<Instruction>(NewSel)->setFastMathFlags(NewSelFMF);

0 commit comments

Comments
 (0)