[all-commits] [llvm/llvm-project] 85395a: [DAGCombine] fp_to_sint isSaturatingMinMax

Sam Parker via All-commits all-commits at lists.llvm.org
Thu Jan 26 04:45:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85395af27241ab9c8d5763b8afcaa07f1bab26d5
      https://github.com/llvm/llvm-project/commit/85395af27241ab9c8d5763b8afcaa07f1bab26d5
  Author: Samuel Parker <sam.parker at arm.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/Support/APFloat.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/CodeGen/WebAssembly/fpclamptosat.ll

  Log Message:
  -----------
  [DAGCombine] fp_to_sint isSaturatingMinMax

Check for single smax pattern against zero when converting from a
small enough float.

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




More information about the All-commits mailing list