[all-commits] [llvm/llvm-project] 038f7d: [DAGCombine] fp_to_sint isSaturatingMinMax

Sam Parker via All-commits all-commits at lists.llvm.org
Mon Jan 30 04:25:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 038f7debfda01471ce0d4eb1fed20da61e5c8b32
      https://github.com/llvm/llvm-project/commit/038f7debfda01471ce0d4eb1fed20da61e5c8b32
  Author: Samuel Parker <sam.parker at arm.com>
  Date:   2023-01-30 (Mon, 30 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
    A llvm/test/CodeGen/AArch64/sve-fp-int-min-max.ll
    M llvm/test/CodeGen/WebAssembly/fpclamptosat.ll

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

Recommitting after fixing scalable vector crash.

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