[llvm] llvm-reduce: Handle cloning for MachineJumpTableInfo (PR #69086)

via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 14 18:53:20 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 557299c9b6464f27968904aad5429cfb1512434e 1134997652adcdbcdd41d194aa0875833c50ea36 -- llvm/tools/llvm-reduce/ReducerWorkItem.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/tools/llvm-reduce/ReducerWorkItem.cpp b/llvm/tools/llvm-reduce/ReducerWorkItem.cpp
index 3e0402c26..f38d9b8a1 100644
--- a/llvm/tools/llvm-reduce/ReducerWorkItem.cpp
+++ b/llvm/tools/llvm-reduce/ReducerWorkItem.cpp
@@ -285,8 +285,7 @@ static std::unique_ptr<MachineFunction> cloneMF(MachineFunction *SrcMF,
   cloneFrameInfo(DstMFI, SrcMFI, Src2DstMBB);
 
   if (MachineJumpTableInfo *SrcJTI = SrcMF->getJumpTableInfo()) {
-    cloneJumpTableInfo(*DstMF, *SrcJTI,
-                       Src2DstMBB);
+    cloneJumpTableInfo(*DstMF, *SrcJTI, Src2DstMBB);
   }
 
   // Remap the debug info frame index references.

``````````

</details>


https://github.com/llvm/llvm-project/pull/69086


More information about the llvm-commits mailing list