mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 16:37:42 +00:00
Fix a typo in a comment that Frits von Bommel noticed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2c364ad4a6
commit
224a19c490
@ -2118,7 +2118,7 @@ ICmpInst *LoopStrengthReduce::OptimizeMax(Loop *L, ICmpInst *Cond,
|
||||
const SCEVNAryExpr *Max = cast<SCEVNAryExpr>(IterationCount);
|
||||
if (Max != SE->getSCEV(Sel)) return Cond;
|
||||
|
||||
// Two handle a max with more than two operands, this optimization would
|
||||
// To handle a max with more than two operands, this optimization would
|
||||
// require additional checking and setup.
|
||||
if (Max->getNumOperands() != 2)
|
||||
return Cond;
|
||||
|
Loading…
x
Reference in New Issue
Block a user