[all-commits] [llvm/llvm-project] 9c8ae4: [ARM] Speed up arm-cortex-cpus.c test

Artem Belevich via All-commits all-commits at lists.llvm.org
Mon Aug 10 14:28:05 PDT 2020


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

  Changed paths:
    M clang/test/Driver/arm-cortex-cpus.c

  Log Message:
  -----------
  [ARM] Speed up arm-cortex-cpus.c test

Trailing wildcard regex searches greedily continue searching through the whole
input and make the test unnecessarily slow.

Using equivalent plain text partial match speeds up the test execution time from
~35s to ~12s.

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




More information about the All-commits mailing list