commit | d0537adb23571b48621632117bcba3eebf8bc59a | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Fri Jan 04 06:49:24 2019 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Fri Jan 04 06:49:24 2019 +0000 |
tree | 4ce627d5a200896b38727538b19a8a64596418ef | |
parent | d9ad64b2129fdf9aea1b5127b92342c04bc89a60 [diff] |
[WebAssembly] Split the checking from the sorting logic. Move the check for -1 and identical values outside the vector sorting code. Compare functions need to be able to compare identical elements to be conforming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350379 91177308-0d34-0410-b5e6-96231b3b80d8