[all-commits] [llvm/llvm-project] 0e0527: ValueTracking: x - floor(x) cannot introduce overflow

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Apr 2 11:58:52 PDT 2026


  Branch: refs/heads/users/arsenm/valuetracking/fsub-x-floor-x-cannot-introduce-overflow
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e0527a03b5cd1e9864ca5fc745e67b8f2fd8eea
      https://github.com/llvm/llvm-project/commit/0e0527a03b5cd1e9864ca5fc745e67b8f2fd8eea
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-04-02 (Thu, 02 Apr 2026)

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

  Log Message:
  -----------
  ValueTracking: x - floor(x) cannot introduce overflow

This returns a value with an absolute value less than 1 so it
should be possible to propagate no-infs.


  Commit: 8b6d5ed732c7ea99a18a1ae86afb6e5565fba50b
      https://github.com/llvm/llvm-project/commit/8b6d5ed732c7ea99a18a1ae86afb6e5565fba50b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-04-02 (Thu, 02 Apr 2026)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp

  Log Message:
  -----------
  Rename function to show nan doesn't matter


Compare: https://github.com/llvm/llvm-project/compare/de65a7305e99...8b6d5ed732c7

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