[all-commits] [llvm/llvm-project] d52c84: SelectionDAG/expandFMINNUM_FMAXNUM: skips vector i...

YunQiang Su via All-commits all-commits at lists.llvm.org
Wed Oct 9 17:39:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d52c8408ff2cd9d0125f0e3096731a039ba0d33d
      https://github.com/llvm/llvm-project/commit/d52c8408ff2cd9d0125f0e3096731a039ba0d33d
  Author: YunQiang Su <yunqiang at isrc.iscas.ac.cn>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/AArch64/vecreduce-fmax-legalization.ll
    M llvm/test/CodeGen/AArch64/vecreduce-fmin-legalization.ll
    M llvm/test/CodeGen/ARM/minnum-maxnum-intrinsics.ll
    M llvm/test/CodeGen/Thumb2/mve-vecreduce-fminmax.ll

  Log Message:
  -----------
  SelectionDAG/expandFMINNUM_FMAXNUM: skips vector if SETCC/VSELECT is not legal (#109570)

If SETCC or VSELECT is not legal for vector, we should not expand it,
instead we can split the vectors.

So that, some simple scale instructions can be emitted instead of
some pairs of comparation+selection.



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