[llvm-branch-commits] [compiler-rt] [Instrumentor] Add runtime examples: [2/N] A FP precision analysis (PR #205229)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 23 19:57:36 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r origin/main...HEAD compiler-rt/test/instrumentor-tools/lit.cfg.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- lit.cfg.py 2026-06-24 02:55:57.000000 +0000
+++ lit.cfg.py 2026-06-24 02:57:10.560962 +0000
@@ -48,10 +48,11 @@
def make_lib_name(name):
if config.target_os != "Darwin":
return "clang_rt." + name
return "clang_rt." + name + "_osx"
+
def make_lib_substitutions(name):
config.substitutions.append(("%" + name + "_lib", make_lib_name(name)))
# Add clang substitutions.
config.substitutions.append(("%clang ", build_invocation(clang_cflags)))
``````````
</details>
https://github.com/llvm/llvm-project/pull/205229
More information about the llvm-branch-commits
mailing list