[all-commits] [llvm/llvm-project] 416c78: [BOLT][test] Fix perf_test
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Mon May 12 20:51:27 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 416c782cc671a4b20ed7b9a7b92da35bbd85eae2
https://github.com/llvm/llvm-project/commit/416c782cc671a4b20ed7b9a7b92da35bbd85eae2
Author: Amir Ayupov <aaupov at fb.com>
Date: 2025-05-12 (Mon, 12 May 2025)
Changed paths:
M bolt/test/perf2bolt/perf_test.test
Log Message:
-----------
[BOLT][test] Fix perf_test
The interaction between `--show-density` and NFC testing wrapper is a
bit subtle. ShowDensity is enabled by default in perf2bolt mode, which
is detected based on executable name. NFC wrapper however replaces
the invocation of perf2bolt with `llvm-bolt --aggregate-only`, and so
ShowDensity is not enabled, which caused NFC test to fail:
https://lab.llvm.org/buildbot/#/builders/92/builds/18656
Add show-density flag explicitly to work around the issue.
Test Plan:
```
../llvm-project/bolt/utils/nfc-check-setup.py
bin/llvm-lit -a tools/bolt/test/perf2bolt/perf_test.test
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list