diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-08-17 01:23:58 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-08-17 01:23:58 +0000 |
| commit | 9e3edad932cc41be697ac6e38ba0c67ecd22151e (patch) | |
| tree | 21d03cb367573cb5633ca6788230f96a21ec2fef /llvm/test/Bitcode/thinlto-function-summary.ll | |
| parent | 3bcaa812042ba8ffb598c96fae99b07528a0caa5 (diff) | |
| download | bcm5719-llvm-9e3edad932cc41be697ac6e38ba0c67ecd22151e.tar.gz bcm5719-llvm-9e3edad932cc41be697ac6e38ba0c67ecd22151e.zip | |
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
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary.ll')
0 files changed, 0 insertions, 0 deletions

