[PATCH] D85695: [OpenMP] split execution of a long test into smaller parts.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 10 16:00:27 PDT 2020


tra created this revision.
tra added reviewers: ABataev, jdoerfert.
Herald added subscribers: sanjoy.google, bixia, guansong, yaxunl.
Herald added a project: clang.
tra requested review of this revision.
Herald added a subscriber: sstefan1.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85695

Files:
  clang/test/OpenMP/target_map_codegen_18.cpp
  clang/test/OpenMP/target_map_codegen_18.inc
  clang/test/OpenMP/target_map_codegen_18a.cpp
  clang/test/OpenMP/target_map_codegen_18b.cpp
  clang/test/OpenMP/target_map_codegen_18c.cpp
  clang/test/OpenMP/target_map_codegen_18d.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85695.284520.patch
Type: text/x-patch
Size: 23958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200810/7fcda0ff/attachment-0001.bin>


More information about the cfe-commits mailing list