[all-commits] [llvm/llvm-project] 9353ed: [InstCombine] Don't call matchSAddSubSat() for SPF...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Feb 28 01:43:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9353ed6a53133d4bd0f59f1a9200557f11a66a6d
      https://github.com/llvm/llvm-project/commit/9353ed6a53133d4bd0f59f1a9200557f11a66a6d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-28 (Mon, 28 Feb 2022)

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

  Log Message:
  -----------
  [InstCombine] Don't call matchSAddSubSat() for SPF (NFC)

Only call it for intrinsic min/max. The moved implementation is
unchanged apart from the one-use check: It is now hardcoded to
one-use, without the two-use special case for SPF.




More information about the All-commits mailing list