[all-commits] [llvm/llvm-project] c7aac3: [SLP]Correctly detect minnum/maxnum patterns for s...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Jul 16 05:14:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7aac38c29f564bc48f7cfb71d3b3b8b482c873b
      https://github.com/llvm/llvm-project/commit/c7aac38c29f564bc48f7cfb71d3b3b8b482c873b
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/extractelements-to-shuffle.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/remarks_cmp_sel_min_max.ll
    M llvm/test/Transforms/SLPVectorizer/X86/partail.ll

  Log Message:
  -----------
  [SLP]Correctly detect minnum/maxnum patterns for select/cmp operations on floats.

The patch enables detection of minnum/maxnum patterns for float point
instruction, represented as select/cmp. Also, enables better cost
estimation for integer min/max patterns since the compiler starts
to estimate the scalars separately.

Reviewers: nikic, RKSimon

Reviewed By: RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/98570



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