[all-commits] [llvm/llvm-project] cd0198: [OpenMP] Split OpenMP/target_map_codegen test [NFC]

Artem Belevich via All-commits all-commits at lists.llvm.org
Fri Aug 7 13:48:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cd01980f308a94c64f814052a5e522ac69982237
      https://github.com/llvm/llvm-project/commit/cd01980f308a94c64f814052a5e522ac69982237
  Author: Artem Belevich <tra at google.com>
  Date:   2020-08-07 (Fri, 07 Aug 2020)

  Changed paths:
    R clang/test/OpenMP/target_map_codegen.cpp
    A clang/test/OpenMP/target_map_codegen_00.cpp
    A clang/test/OpenMP/target_map_codegen_01.cpp
    A clang/test/OpenMP/target_map_codegen_02.cpp
    A clang/test/OpenMP/target_map_codegen_03.cpp
    A clang/test/OpenMP/target_map_codegen_04.cpp
    A clang/test/OpenMP/target_map_codegen_05.cpp
    A clang/test/OpenMP/target_map_codegen_06.cpp
    A clang/test/OpenMP/target_map_codegen_07.cpp
    A clang/test/OpenMP/target_map_codegen_08.cpp
    A clang/test/OpenMP/target_map_codegen_09.cpp
    A clang/test/OpenMP/target_map_codegen_10.cpp
    A clang/test/OpenMP/target_map_codegen_11.cpp
    A clang/test/OpenMP/target_map_codegen_12.cpp
    A clang/test/OpenMP/target_map_codegen_13.cpp
    A clang/test/OpenMP/target_map_codegen_14.cpp
    A clang/test/OpenMP/target_map_codegen_15.cpp
    A clang/test/OpenMP/target_map_codegen_16.cpp
    A clang/test/OpenMP/target_map_codegen_17.cpp
    A clang/test/OpenMP/target_map_codegen_18.cpp
    A clang/test/OpenMP/target_map_codegen_19.cpp
    A clang/test/OpenMP/target_map_codegen_20.cpp
    A clang/test/OpenMP/target_map_codegen_21.cpp
    A clang/test/OpenMP/target_map_codegen_22.cpp
    A clang/test/OpenMP/target_map_codegen_23.cpp
    A clang/test/OpenMP/target_map_codegen_24.cpp
    A clang/test/OpenMP/target_map_codegen_25.cpp
    A clang/test/OpenMP/target_map_codegen_26.cpp
    A clang/test/OpenMP/target_map_codegen_27.cpp
    A clang/test/OpenMP/target_map_codegen_28.cpp
    A clang/test/OpenMP/target_map_codegen_29.cpp
    A clang/test/OpenMP/target_map_codegen_30.cpp
    A clang/test/OpenMP/target_map_codegen_31.cpp
    A clang/test/OpenMP/target_map_codegen_32.cpp
    A clang/test/OpenMP/target_map_codegen_33.cpp

  Log Message:
  -----------
  [OpenMP] Split OpenMP/target_map_codegen test [NFC]

The test file is the single longest test among clang's tests and ends up about
doubling the wall time of clang tests on machines with high number of cores.

The test appears to consist of multiple independent subtests and does not have
to be in one file. Splitting it into smaller parts reduces test time on my
machine from ~80s down to ~45.

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




More information about the All-commits mailing list