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

IPO: Swap || operands to avoid dereferencing end()

IsOperandBundleUse conveniently indicates  whether
std::next(F->arg_begin(),UseIndex) will get to (or past) end().  Check
it first to avoid dereferencing end().

llvm-svn: 278884
parent 3bcaa812
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment