Skip to content
Commit 0a12729f authored by Duncan P. N. Exon Smith's avatar Duncan P. N. Exon Smith
Browse files

SimplifyCFG: Avoid dereferencing end()

When comparing a User* to a BasicBlock::iterator in
passingValueIsAlwaysUndefined, don't dereference the iterator in case it
is end().

llvm-svn: 278872
parent 39eec466
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment