HomePhabricator

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

Authored by tra on Aug 7 2020, 5:18 PM.

Description

[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

Details

Committed
traAug 10 2020, 2:27 PM
Differential Revision
D85575: [ARM] Speed up arm-cortex-cpus.c test
Parents
rG62223ff1376b: [Diagnostics] Avoid false positives with -Wstring-concatenation
Branches
Unknown
Tags
Unknown