[clang] [M68k] Change gcc register name from a7 to sp. (PR #87095)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 29 10:53:55 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 d3bc9cc99b3d45e1fb8d65a57e308e899439fe26 dec6021133f67304bfc9942a1a4985cce6a15645 -- clang/lib/Basic/Targets/M68k.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Basic/Targets/M68k.cpp b/clang/lib/Basic/Targets/M68k.cpp
index 9e6b59f1e4..4c1688de86 100644
--- a/clang/lib/Basic/Targets/M68k.cpp
+++ b/clang/lib/Basic/Targets/M68k.cpp
@@ -126,9 +126,8 @@ bool M68kTargetInfo::hasFeature(StringRef Feature) const {
}
const char *const M68kTargetInfo::GCCRegNames[] = {
- "d0", "d1", "d2", "d3", "d4", "d5", "d6", "d7",
- "a0", "a1", "a2", "a3", "a4", "a5", "a6", "sp",
- "pc"};
+ "d0", "d1", "d2", "d3", "d4", "d5", "d6", "d7", "a0",
+ "a1", "a2", "a3", "a4", "a5", "a6", "sp", "pc"};
ArrayRef<const char *> M68kTargetInfo::getGCCRegNames() const {
return llvm::ArrayRef(GCCRegNames);
``````````
</details>
https://github.com/llvm/llvm-project/pull/87095
More information about the cfe-commits
mailing list