[PATCH] D44857: [Hexagon] Change std::sort to llvm::sort in response to r327219

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 23 17:18:23 PDT 2018


mgrang created this revision.
mgrang added a reviewer: kparzysz.

r327219 added wrappers to std::sort which randomly shuffle the container before sorting.
This will help in uncovering non-determinism caused due to undefined sorting
order of objects having the same key.

To make use of that infrastructure we need to invoke llvm::sort instead of std::sort.


Repository:
  rL LLVM

https://reviews.llvm.org/D44857

Files:
  lib/Target/Hexagon/HexagonBlockRanges.cpp
  lib/Target/Hexagon/HexagonConstExtenders.cpp
  lib/Target/Hexagon/HexagonGenInsert.cpp
  lib/Target/Hexagon/HexagonStoreWidening.cpp
  lib/Target/Hexagon/RDFDeadCode.cpp
  lib/Target/Hexagon/RDFGraph.cpp
  lib/Target/Hexagon/RDFLiveness.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44857.139682.patch
Type: text/x-patch
Size: 4158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180324/c7c2fb0d/attachment.bin>


More information about the llvm-commits mailing list