[llvm-branch-commits] [llvm] [KeyInstr][JumpThreading] Remap atoms in blocks duplicated for threading (PR #133486)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Mar 28 10:54:48 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 637b5b4ae3c32e436aa4f03b980ba3332ebc3590 3cc84e5c3d83c804332d4b7f9ad8057ddf906902 --extensions cpp -- llvm/lib/Transforms/Scalar/JumpThreading.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/Scalar/JumpThreading.cpp b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
index 18dda2f3ad..14e5e16427 100644
--- a/llvm/lib/Transforms/Scalar/JumpThreading.cpp
+++ b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
@@ -2100,7 +2100,7 @@ void JumpThreadingPass::cloneInstructions(ValueToValueMapTy &ValueMapping,
if (const DebugLoc &DL = New->getDebugLoc())
mapAtomInstance(DL, ValueMapping);
- if (RetargetDbgValueIfPossible(New))
+ if (RetargetDbgValueIfPossible(New))
continue;
// Remap operands to patch up intra-block references.
``````````
</details>
https://github.com/llvm/llvm-project/pull/133486
More information about the llvm-branch-commits
mailing list