[llvm] [X86][AVX512] Use comx for compare (PR #113567)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 25 00:40:34 PDT 2024
================
@@ -2292,8 +2298,10 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
setOperationAction(ISD::FP_EXTEND, MVT::f32, Legal);
setOperationAction(ISD::STRICT_FP_EXTEND, MVT::f32, Legal);
- setCondCodeAction(ISD::SETOEQ, MVT::f16, Expand);
- setCondCodeAction(ISD::SETUNE, MVT::f16, Expand);
+ setCondCodeAction(ISD::SETOEQ, MVT::f16,
+ Subtarget.hasAVX10_2() ? Custom : Expand);
+ setCondCodeAction(ISD::SETUNE, MVT::f16,
+ Subtarget.hasAVX10_2() ? Custom : Expand);
----------------
mahesh-attarde wrote:
This code movement result in 3 regressions.
https://github.com/llvm/llvm-project/pull/113567
More information about the llvm-commits
mailing list