Skip to content

Commit ef331b6

Browse files
committed
fixup
1 parent c32f271 commit ef331b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/CodeGenPrepare.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1993,7 +1993,7 @@ static bool isRemOfLoopIncrementWithLoopInvariant(
19931993
Value *AddOrSubOffset;
19941994
// Find out loop increment PHI.
19951995
auto *PN = dyn_cast<PHINode>(Incr);
1996-
if (PN != nullptr) {
1996+
if (PN) {
19971997
AddOrSub = std::nullopt;
19981998
AddOrSubOffset = nullptr;
19991999
} else {

0 commit comments

Comments
 (0)