[llvm] [SelectionDAG] Salvage debug info for non-constant ADDs (PR #68981)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 13 05:00:12 PDT 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 5d35273a32d239b7407338e13ed71b59174d6536 55ab6cc37d731be3d901b26219e3892777ea7b7c -- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 200123a37..e3775ded8 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -10832,10 +10832,9 @@ void SelectionDAG::salvageDebugInfo(SDNode &N) {
DV->isVariadic() || OrigLocOpsSize != NewLocOps.size();
auto AdditionalDependencies = DV->getAdditionalDependencies();
- SDDbgValue *Clone = getDbgValueList(DV->getVariable(), DIExpr,
- NewLocOps, AdditionalDependencies,
- DV->isIndirect(), DV->getDebugLoc(),
- DV->getOrder(), IsVariadic);
+ SDDbgValue *Clone = getDbgValueList(
+ DV->getVariable(), DIExpr, NewLocOps, AdditionalDependencies,
+ DV->isIndirect(), DV->getDebugLoc(), DV->getOrder(), IsVariadic);
ClonedDVs.push_back(Clone);
DV->setIsInvalidated();
DV->setIsEmitted();
``````````
</details>
https://github.com/llvm/llvm-project/pull/68981
More information about the llvm-commits
mailing list