[Openmp-commits] [llvm] [compiler-rt] [openmp] [TSan] Add instrumentation of AVX2 and AVX512 instructions (PR #74636)

via Openmp-commits openmp-commits at lists.llvm.org
Thu Dec 7 05:32:34 PST 2023


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 9bad6cb7fc571821bfacc8926a8a7f5d147ce540..f6368e4651c07818336b99e11b0c7aaec8db3787 compiler-rt/test/tsan/lit.cfg.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- lit.cfg.py	2023-12-07 13:29:19.000000 +0000
+++ lit.cfg.py	2023-12-07 13:32:24.305711 +0000
@@ -76,11 +76,14 @@
     config.substitutions.append(("%link_libcxx_tsan", libcxx_a))
 else:
     config.substitutions.append(("%link_libcxx_tsan", ""))
 
 config.substitutions.append(("%avx2", "-mavx2" if config.target_has_mavx2 else ""))
-config.substitutions.append(("%avx512f", "-mavx512f" if config.target_has_mavx512f else ""))
+config.substitutions.append(
+    ("%avx512f", "-mavx512f" if config.target_has_mavx512f else "")
+)
+
 
 def build_invocation(compile_flags):
     return " " + " ".join([config.clang] + compile_flags) + " "
 
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/74636


More information about the Openmp-commits mailing list