[llvm-branch-commits] [llvm] [BOLT][NFC] Update nfc-check-setup.py guidance (PR #146659)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jul 2 02:39:58 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-bolt
Author: Paschalis Mpeis (paschalis-mpeis)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/146659.diff
1 Files Affected:
- (modified) bolt/utils/nfc-check-setup.py (+6-5)
``````````diff
diff --git a/bolt/utils/nfc-check-setup.py b/bolt/utils/nfc-check-setup.py
index 6cf1df5c177ae..87a134aea37ca 100755
--- a/bolt/utils/nfc-check-setup.py
+++ b/bolt/utils/nfc-check-setup.py
@@ -47,8 +47,10 @@ def main():
parser = argparse.ArgumentParser(
description=textwrap.dedent(
"""
- This script builds two versions of BOLT (with the current and
- previous revision).
+ This script builds two versions of BOLT:
+ llvm-bolt.new, using the current revision, and llvm-bolt.old using
+ the previous revision. These can be used to check whether the
+ current revision changes BOLT's functional behavior.
"""
)
)
@@ -156,9 +158,8 @@ def main():
os.replace(bolt_path, f"{bolt_path}.old")
print(
- f"Build directory {args.build_dir} is ready to run BOLT tests, e.g.\n"
- "\tbin/llvm-lit -sv tools/bolt/test\nor\n"
- "\tbin/llvm-lit -sv tools/bolttests"
+ f"Build directory {args.build_dir} is ready for NFC-Mode comparison "
+ "between the two revisions."
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/146659
More information about the llvm-branch-commits
mailing list