Skip to content

Commit caa11c2

Browse files
author
git apple-llvm automerger
committed
Merge commit '783d3c4f0aae' from llvm.org/master into apple/master
2 parents 2292a2e + 783d3c4 commit caa11c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/GuardWidening.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ bool GuardWideningImpl::widenCondCommon(Value *Cond0, Value *Cond1,
591591
else
592592
Result = RC.getCheckInst();
593593
}
594-
594+
assert(Result && "Failed to find result value");
595595
Result->setName("wide.chk");
596596
}
597597
return true;

0 commit comments

Comments
 (0)