[all-commits] [llvm/llvm-project] bfebc6: [ADT][Expensive checks] Create a std::random_devic...

Alex Lorenz via All-commits all-commits at lists.llvm.org
Tue Nov 19 11:11:26 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bfebc63a3dbd9505792ee000dbfc60371f02267a
      https://github.com/llvm/llvm-project/commit/bfebc63a3dbd9505792ee000dbfc60371f02267a
  Author: Alex Lorenz <arphaman at gmail.com>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h

  Log Message:
  -----------
  [ADT][Expensive checks] Create a std::random_device seed only once when shuffling before sorting

This speeds up the build of compiler-rt with an expensive checks enabled clang by an order of
1 or 2 magnitudes on my machine. I was hoping this would also fix the 'large.test' libFuzzer
timeout on the expensive checks bot on green dragon http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-expensive/,
but the fuzzer test still takes too long to compile because of other IR/MIR verification inefficiencies.

Differential Revision: https://reviews.llvm.org/D70288




More information about the All-commits mailing list