Skip to content

Commit 83d7975

Browse files
clang-format
1 parent 139a286 commit 83d7975

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2182,7 +2182,7 @@ class LSRInstance {
21822182

21832183
void OptimizeShadowIV();
21842184
bool FindIVUserForCond(Instruction *Cond, IVStrideUse *&CondUse);
2185-
Instruction *OptimizeMax(ICmpInst *Cond, IVStrideUse* &CondUse);
2185+
Instruction *OptimizeMax(ICmpInst *Cond, IVStrideUse *&CondUse);
21862186
void OptimizeLoopTermCond();
21872187

21882188
void ChainInstruction(Instruction *UserInst, Instruction *IVOper,
@@ -2476,7 +2476,7 @@ bool LSRInstance::FindIVUserForCond(Instruction *Cond, IVStrideUse *&CondUse) {
24762476
/// This function solves this problem by detecting this type of loop and
24772477
/// rewriting their conditions from ICMP_NE back to ICMP_SLT, and deleting
24782478
/// the instructions for the maximum computation.
2479-
Instruction *LSRInstance::OptimizeMax(ICmpInst *Cond, IVStrideUse* &CondUse) {
2479+
Instruction *LSRInstance::OptimizeMax(ICmpInst *Cond, IVStrideUse *&CondUse) {
24802480
// Check that the loop matches the pattern we're looking for.
24812481
if (Cond->getPredicate() != CmpInst::ICMP_EQ &&
24822482
Cond->getPredicate() != CmpInst::ICMP_NE)

0 commit comments

Comments
 (0)