[all-commits] [llvm/llvm-project] 0ee224: ValueTracking: Restore ordered negative handling f...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue May 16 06:38:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ee2245ab2232e454151e5c9d1637cde4686ee9c
      https://github.com/llvm/llvm-project/commit/0ee2245ab2232e454151e5c9d1637cde4686ee9c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/Attributor/nofpclass-frem.ll

  Log Message:
  -----------
  ValueTracking: Restore ordered negative handling for frem

In D148674, the negative condition was weakened to only
checking isKnownNever(fcNegative), instead of cannotBeOrderedLessThanZero().

This avoids a regression when CannotBeOrderedLessThanZero is
replaced with computeKnownFPClass.




More information about the All-commits mailing list