mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-25 05:25:53 +00:00
grammar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89145 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f04777b945
commit
5023095799
@ -2603,8 +2603,8 @@ void LoopStrengthReduce::OptimizeLoopTermCond(Loop *L) {
|
||||
bool LoopStrengthReduce::OptimizeLoopCountIVOfStride(const SCEV* &Stride,
|
||||
IVStrideUse* &CondUse,
|
||||
Loop *L) {
|
||||
// If the only use is an icmp of an loop exiting conditional branch, then
|
||||
// attempts the optimization.
|
||||
// If the only use is an icmp of a loop exiting conditional branch, then
|
||||
// attempt the optimization.
|
||||
BasedUser User = BasedUser(*CondUse, SE);
|
||||
assert(isa<ICmpInst>(User.Inst) && "Expecting an ICMPInst!");
|
||||
ICmpInst *Cond = cast<ICmpInst>(User.Inst);
|
||||
|
Loading…
Reference in New Issue
Block a user