GuardWidening - silence static analyzer null dereference warning with assertion. NFCI.

llvm-svn: 375428
This commit is contained in:
Simon Pilgrim 2019-10-21 17:15:37 +00:00
parent 10d4b752a7
commit 783d3c4f0a
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ bool GuardWideningImpl::widenCondCommon(Value *Cond0, Value *Cond1,
else else
Result = RC.getCheckInst(); Result = RC.getCheckInst();
} }
assert(Result && "Failed to find result value");
Result->setName("wide.chk"); Result->setName("wide.chk");
} }
return true; return true;