[llvm] [WebAssembly] Reapply #153360 with correct CondCode in combine of SETCC (PR #153703)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 14 15:25:15 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/WebAssembly/WebAssemblyISelLowering.cpp llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
index 92b8e47e2..35d5c3ed9 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
@@ -3429,7 +3429,8 @@ combineVectorSizedSetCCEquality(SDNode *N, TargetLowering::DAGCombinerInfo &DCI,
DL, MVT::i32),
Cmp});
- return DAG.getSetCC(DL, VT, Intr, DAG.getConstant(0, DL, MVT::i32), ISD::SETNE);
+ return DAG.getSetCC(DL, VT, Intr, DAG.getConstant(0, DL, MVT::i32),
+ ISD::SETNE);
}
static SDValue performSETCCCombine(SDNode *N,
``````````
</details>
https://github.com/llvm/llvm-project/pull/153703
More information about the llvm-commits
mailing list