commit | c0cc039a579d1691030af9cb536c779c717f5800 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Mar 14 14:53:14 2015 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Mar 14 14:53:14 2015 +0000 |
tree | e502ade23fa743bd41b259e44c401ba545f23244 | |
parent | 439cc2c5de80f5810c1733445673658a446d4a0c [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232265 91177308-0d34-0410-b5e6-96231b3b80d8