[all-commits] [llvm/llvm-project] ec5f79: [OpenMP] split execution of a long test into small...

Artem Belevich via All-commits all-commits at lists.llvm.org
Tue Aug 11 11:53:41 PDT 2020


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

  Changed paths:
    R clang/test/OpenMP/target_map_codegen_18.cpp
    A clang/test/OpenMP/target_map_codegen_18.inc
    A clang/test/OpenMP/target_map_codegen_18a.cpp
    A clang/test/OpenMP/target_map_codegen_18b.cpp
    A clang/test/OpenMP/target_map_codegen_18c.cpp
    A clang/test/OpenMP/target_map_codegen_18d.cpp

  Log Message:
  -----------
  [OpenMP] split execution of a long test into smaller parts.

This test is bottlenecked by heavy regex use (~0.6s per FileCHeck run) with the
content that can't be further fragmented. Instead, the test body is moved into a
common .inc file and test execution has been split into four roughly equal
parts. This reduces wall time for the test from 14s to ~3.5s.

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




More information about the All-commits mailing list