[llvm] [SandboxIR] Add RegionPass/RegionPassManager (PR #110933)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 2 15:23:11 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff c214af8454345a7986bce1395aad7f06b186352e f9ebd0c7c0f59fd5f951f9bdbf05285b38faa817 --extensions h,cpp -- llvm/include/llvm/SandboxIR/Pass.h llvm/include/llvm/SandboxIR/PassManager.h llvm/lib/SandboxIR/PassManager.cpp llvm/unittests/SandboxIR/PassTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/SandboxIR/PassManager.h b/llvm/include/llvm/SandboxIR/PassManager.h
index 68169fda38..54192c6bf1 100644
--- a/llvm/include/llvm/SandboxIR/PassManager.h
+++ b/llvm/include/llvm/SandboxIR/PassManager.h
@@ -73,8 +73,7 @@ public:
bool runOnFunction(Function &F) final;
};
-class RegionPassManager final
- : public PassManager<RegionPass, RegionPass> {
+class RegionPassManager final : public PassManager<RegionPass, RegionPass> {
public:
RegionPassManager(StringRef Name) : PassManager(Name) {}
bool runOnRegion(Region &R) final;
``````````
</details>
https://github.com/llvm/llvm-project/pull/110933
More information about the llvm-commits
mailing list