forked from OSchip/llvm-project
GuardWidening - silence static analyzer null dereference warning with assertion. NFCI.
llvm-svn: 375428
This commit is contained in:
parent
10d4b752a7
commit
783d3c4f0a
|
@ -591,7 +591,7 @@ bool GuardWideningImpl::widenCondCommon(Value *Cond0, Value *Cond1,
|
|||
else
|
||||
Result = RC.getCheckInst();
|
||||
}
|
||||
|
||||
assert(Result && "Failed to find result value");
|
||||
Result->setName("wide.chk");
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue