[llvm] [ctx_prof] Add Inlining support (PR #106154)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 15:03:58 PDT 2024


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 aaed5573634f20e985a18f880bed7267dc89a5dc...5733f3b811d323844e7ab7cf8f1c49d39a48bfdc llvm/test/Analysis/CtxProfAnalysis/json_equals.py
``````````

</details>

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

``````````diff
--- json_equals.py	2024-08-28 21:59:44.000000 +0000
+++ json_equals.py	2024-08-28 22:03:32.496473 +0000
@@ -1,13 +1,15 @@
 import json
 import sys
 
+
 def to_json(fname: str):
-  with open(fname) as f:
-    return json.load(f)
-  
+    with open(fname) as f:
+        return json.load(f)
+
+
 a = to_json(sys.argv[1])
 b = to_json(sys.argv[2])
 
 if a == b:
-  exit(0)
+    exit(0)
 exit(1)

``````````

</details>


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


More information about the llvm-commits mailing list