[llvm] [X86][AVX512] Use comx for compare (PR #113905)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 29 00:47:10 PDT 2024
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 8673d0e0673dd1a5e6f7a5df7509c45e33582987 3574fd97c64bf39dc8adf3e8abdcf68a3e930885 --extensions inc,cpp -- llvm/lib/Target/X86/X86ISelLowering.cpp llvm/test/TableGen/x86-fold-tables.inc
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 711c8f65b0..24dae783d1 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -2441,7 +2441,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
setOperationAction(ISD::SETCC, VT, Custom);
}
}
- for (auto VT : { MVT::f16, MVT::f32, MVT::f64}) {
+ for (auto VT : {MVT::f16, MVT::f32, MVT::f64}) {
setCondCodeAction(ISD::SETOEQ, VT, Custom);
setCondCodeAction(ISD::SETUNE, VT, Custom);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/113905
More information about the llvm-commits
mailing list