[all-commits] [llvm/llvm-project] 2669ab: [clang][CodeGen] Use llvm::stable_sort for multi v...

Alex Lorenz via All-commits all-commits at lists.llvm.org
Mon May 3 20:07:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2669abaecfc47d4d2436559ab8c1fb49ad6e35c3
      https://github.com/llvm/llvm-project/commit/2669abaecfc47d4d2436559ab8c1fb49ad6e35c3
  Author: Alex Lorenz <arphaman at gmail.com>
  Date:   2021-05-03 (Mon, 03 May 2021)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp

  Log Message:
  -----------
  [clang][CodeGen] Use llvm::stable_sort for multi version resolver options

The use of llvm::sort causes periodic failures on the bot with EXPENSIVE_CHECKS enabled,
as the regular sort pre-shuffles the array in the expensive checks mode, leading to a
non-deterministic test result which causes the CodeGenCXX/attr-cpuspecific-outoflinedefs.cpp
testcase to fail on the bot (http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-expensive/).




More information about the All-commits mailing list