[all-commits] [llvm/llvm-project] 1984c7: [ValueTracking] Do not use FMF from fcmp (#142266)

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Mon Jun 2 03:21:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1984c7539ebeb2697233f8163a051a2ce0d4fa50
      https://github.com/llvm/llvm-project/commit/1984c7539ebeb2697233f8163a051a2ce0d4fa50
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2025-06-02 (Mon, 02 Jun 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/CodeGen/AArch64/arm64-fmax-safe.ll
    M llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll
    M llvm/test/CodeGen/ARM/fp16-vminmaxnm-safe.ll
    M llvm/test/CodeGen/ARM/fp16-vminmaxnm-vector.ll
    M llvm/test/CodeGen/ARM/fp16-vminmaxnm.ll
    M llvm/test/CodeGen/ARM/vminmaxnm-safe.ll
    M llvm/test/CodeGen/ARM/vminmaxnm.ll
    M llvm/test/CodeGen/PowerPC/vec-min-max.ll
    M llvm/test/Transforms/InstCombine/unordered-fcmp-select.ll
    M llvm/test/Transforms/PhaseOrdering/AArch64/predicated-reduction.ll
    M llvm/unittests/Analysis/ValueTrackingTest.cpp

  Log Message:
  -----------
  [ValueTracking] Do not use FMF from fcmp (#142266)

This patch introduces an FMF parameter for
`matchDecomposedSelectPattern` to pass FMF flags from select, instead of
fcmp.

Closes https://github.com/llvm/llvm-project/issues/137998.
Closes https://github.com/llvm/llvm-project/issues/141017.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list