[all-commits] [llvm/llvm-project] 9882b3: [X86][StrictFP] Combine fcmp + select to fmin/fmax...

Phoebe Wang via All-commits all-commits at lists.llvm.org
Thu Oct 10 19:19:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9882b35a3a3e46d749b801bd0b98c3d90af6006c
      https://github.com/llvm/llvm-project/commit/9882b35a3a3e46d749b801bd0b98c3d90af6006c
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2024-10-11 (Fri, 11 Oct 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/lib/Target/X86/X86InstrAVX512.td
    M llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
    M llvm/lib/Target/X86/X86InstrSSE.td
    M llvm/test/CodeGen/X86/fp-strict-scalar-cmp.ll

  Log Message:
  -----------
  [X86][StrictFP] Combine fcmp + select to fmin/fmax for some predicates (#109512)

X86 maxss/minss etc. instructions won't turn SNaN to QNaN, so we can
combine fcmp + select to them for some predicates.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list