[llvm] [AVR] Temp fix for getPostIndexedAddressParts() (PR #145040)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 21 09:58:18 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Target/AVR/AVRISelLowering.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AVR/AVRISelLowering.cpp b/llvm/lib/Target/AVR/AVRISelLowering.cpp
index 452df0cd0..6ab50db60 100644
--- a/llvm/lib/Target/AVR/AVRISelLowering.cpp
+++ b/llvm/lib/Target/AVR/AVRISelLowering.cpp
@@ -1114,9 +1114,9 @@ bool AVRTargetLowering::getPostIndexedAddressParts(SDNode *N, SDNode *Op,
if (AVR::isProgramMemoryAccess(LD))
return false;
- // FIXME: We temporarily apply a test which prevents generating incorrect code
- // (see https://github.com/llvm/llvm-project/issues/143247 )
- // until we determined and fixed the root cause.
+ // FIXME: We temporarily apply a test which prevents generating incorrect
+ // code (see https://github.com/llvm/llvm-project/issues/143247 ) until we
+ // determined and fixed the root cause.
if (Op->getOperand(0)->hasOneUse())
return false;
``````````
</details>
https://github.com/llvm/llvm-project/pull/145040
More information about the llvm-commits
mailing list