[all-commits] [llvm/llvm-project] 17328f: [BOLT][test] Fix NFC mismatches in perf2bolt tests...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Fri Jun 27 12:52:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17328f36f6ca94ccc22259a9ebef4cd4afd433ef
      https://github.com/llvm/llvm-project/commit/17328f36f6ca94ccc22259a9ebef4cd4afd433ef
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M bolt/utils/llvm-bolt-wrapper.py

  Log Message:
  -----------
  [BOLT][test] Fix NFC mismatches in perf2bolt tests (#146148)

zero-density.s causes spurious NFC mismatches, e.g.
https://lab.llvm.org/buildbot/#/builders/92/builds/21380

This is caused by NFC script wrapping llvm-bolt binary only, so that
perf2bolt invocations are replaced by `llvm-bolt --agregate-only` to
achieve perf2bolt behavior. Add `show-density` to the list of flags
wrapping perf2bolt calls to avoid similar issues in the future.

Test Plan:
```
$ bolt/utils/nfc-check-setup.py --switch-back
$ bin/llvm-lit -a tools/bolt/test/X86/zero-density.s
```



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