[all-commits] [llvm/llvm-project] 3c8473: [SLP] allow matching integer min/max intrinsics as...

RotateRight via All-commits all-commits at lists.llvm.org
Tue Mar 23 05:58:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c8473ba534daa3bce5e723ce367521c28977017
      https://github.com/llvm/llvm-project/commit/3c8473ba534daa3bce5e723ce367521c28977017
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/horizontal-minmax.ll
    M llvm/test/Transforms/SLPVectorizer/X86/horizontal-smax.ll

  Log Message:
  -----------
  [SLP] allow matching integer min/max intrinsics as reduction ops

As noted in D98152, we need to patch SLP to avoid regressions when
we start canonicalizing to integer min/max intrinsics.
Most of the real work to make this possible was in:
7202f47508

Differential Revision: https://reviews.llvm.org/D98981




More information about the All-commits mailing list