[llvm] TableGen support for RegisterBankInfo (PR #71357)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 5 21:54:10 PST 2023
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 4704eaf234c3c30117caacd7b073d6dd63fd0f65 e74d92530b75ec4d653a35dc7ec82ba96fd339f9 -- llvm/utils/TableGen/RegisterBankEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/TableGen/RegisterBankEmitter.cpp b/llvm/utils/TableGen/RegisterBankEmitter.cpp
index 2e0b282f3243..37b9c0fc92d9 100644
--- a/llvm/utils/TableGen/RegisterBankEmitter.cpp
+++ b/llvm/utils/TableGen/RegisterBankEmitter.cpp
@@ -319,8 +319,7 @@ void RegisterBankEmitter::emitRBIHeader(
}
void RegisterBankEmitter::emitRBIImplementation(
- raw_ostream &OS,
- const StringRef TargetName,
+ raw_ostream &OS, const StringRef TargetName,
const std::vector<RegisterBank> &Banks) {
const CodeGenRegBank &RegisterClassHierarchy = Target.getRegBank();
``````````
</details>
https://github.com/llvm/llvm-project/pull/71357
More information about the llvm-commits
mailing list