[all-commits] [llvm/llvm-project] 2f1563: [ValueTracking] Update `Ordered` when both operand...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Mon Jun 9 00:46:32 PDT 2025


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

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/fcmp-select.ll
    M llvm/unittests/Analysis/ValueTrackingTest.cpp

  Log Message:
  -----------
  [ValueTracking] Update `Ordered` when both operands are non-NaN. (#143349)

When the original predicate is ordered and both operands are non-NaN,
`Ordered` should be set to true. This variable still matters even if
both operands are non-NaN because FMF only applies to select, not fcmp.

Closes https://github.com/llvm/llvm-project/issues/143123.



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