[llvm] Enable Custom Lowering for fabs.v8f16 on AVX (PR #71730)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 15 12:08:40 PST 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 a5eb6bdd8e126ad94de0a12002cac2c3f01e05f5 ba1f95376e3f70626485747965cca43e96d259a4 -- llvm/lib/Target/X86/X86ISelLowering.cpp
``````````
</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 044c83e44e..5f5ad069e9 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -2240,7 +2240,6 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
}
}
-
if (!Subtarget.useSoftFloat() &&
(Subtarget.hasAVXNECONVERT() || Subtarget.hasBF16())) {
addRegisterClass(MVT::v8bf16, Subtarget.hasAVX512() ? &X86::VR128XRegClass
``````````
</details>
https://github.com/llvm/llvm-project/pull/71730
More information about the llvm-commits
mailing list