[all-commits] [llvm/llvm-project] c6b7db: [InstCombine] Add call to matchSAddSubSat from min...

David Green via All-commits all-commits at lists.llvm.org
Sun Aug 15 09:25:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6b7db015f6e203b3f1b1bb9f1468196a9fe7328
      https://github.com/llvm/llvm-project/commit/c6b7db015f6e203b3f1b1bb9f1468196a9fe7328
  Author: David Green <david.green at arm.com>
  Date:   2021-08-15 (Sun, 15 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/sadd_sat.ll

  Log Message:
  -----------
  [InstCombine] Add call to matchSAddSubSat from min/max

This adds a call to matchSAddSubSat from smin/smax instrinsics, allowing
the same patterns to match if the canonical form of a min/max is an
intrinsics, not a icmp/select.

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




More information about the All-commits mailing list