summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix/Process.inc
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-03-14 14:53:14 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-03-14 14:53:14 +0000
commit09db991e3797f56424ccd205083df79e4965b93a (patch)
tree5058e850277cba80c2bf628fecb77b263b67f0fe /llvm/lib/Support/Unix/Process.inc
parent0eb262fb28dfdad02413a91892c8ad5c14ba88c8 (diff)
downloadbcm5719-llvm-09db991e3797f56424ccd205083df79e4965b93a.tar.gz
bcm5719-llvm-09db991e3797f56424ccd205083df79e4965b93a.zip
array_pod_sort: Since we're checking the length anyways also ignore one-element ranges
Sorting them is obviously a noop and we can skip the libc call. This is surprisingly common in clang. NFC. llvm-svn: 232265
Diffstat (limited to 'llvm/lib/Support/Unix/Process.inc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud