[llvm] [CodeGen][NewPM] Port RegisterUsageInfo to NPM (PR #113873)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 01:06:28 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 5d4a0d54b5269bad1410e6db957836fe98634069 42096a48034185afe411226ca268b2796d1f9faa --extensions cpp,h -- llvm/include/llvm/CodeGen/RegisterUsageInfo.h llvm/include/llvm/InitializePasses.h llvm/include/llvm/Passes/CodeGenPassBuilder.h llvm/lib/CodeGen/RegUsageInfoCollector.cpp llvm/lib/CodeGen/RegUsageInfoPropagate.cpp llvm/lib/CodeGen/RegisterUsageInfo.cpp llvm/lib/Passes/PassBuilder.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/CodeGen/RegisterUsageInfo.h b/llvm/include/llvm/CodeGen/RegisterUsageInfo.h
index f031818e7e..3073b62f37 100644
--- a/llvm/include/llvm/CodeGen/RegisterUsageInfo.h
+++ b/llvm/include/llvm/CodeGen/RegisterUsageInfo.h
@@ -53,6 +53,7 @@ public:
bool invalidate(Module &M, const PreservedAnalyses &PA,
ModuleAnalysisManager::Invalidator &Inv);
+
private:
/// A Dense map from Function * to RegMask.
/// In RegMask 0 means register used (clobbered) by function.
``````````
</details>
https://github.com/llvm/llvm-project/pull/113873
More information about the llvm-commits
mailing list