[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port PeepholeOptimizer to NPM (PR #116326)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Nov 14 22:27:49 PST 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 4025b13066786a370abb33cbc5e14388c7f2d091 9a4813f306f06ab57e9b2568e44056b2daaf59b5 --extensions cpp,h -- llvm/include/llvm/CodeGen/PeepholeOptimizer.h llvm/include/llvm/CodeGen/Passes.h llvm/include/llvm/InitializePasses.h llvm/include/llvm/Passes/CodeGenPassBuilder.h llvm/lib/CodeGen/CodeGen.cpp llvm/lib/CodeGen/PeepholeOptimizer.cpp llvm/lib/CodeGen/TargetPassConfig.cpp llvm/lib/Passes/PassBuilder.cpp llvm/lib/Target/AArch64/AArch64TargetMachine.cpp llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/CodeGen/PeepholeOptimizer.h b/llvm/include/llvm/CodeGen/PeepholeOptimizer.h
index 2a8af24590..f3968ebb59 100644
--- a/llvm/include/llvm/CodeGen/PeepholeOptimizer.h
+++ b/llvm/include/llvm/CodeGen/PeepholeOptimizer.h
@@ -27,4 +27,3 @@ public:
 } // namespace llvm
 
 #endif // LLVM_CODEGEN_PEEPHOLEOPTIMIZER_H
-

``````````

</details>


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


More information about the llvm-branch-commits mailing list