[all-commits] [llvm/llvm-project] 9ebbc1: [APInt] Provide sqrtFloor (floor of square root) i...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Jun 11 01:41:14 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ebbc1e089d64e717b3285ec463b92f94e7f55dc
      https://github.com/llvm/llvm-project/commit/9ebbc1e089d64e717b3285ec463b92f94e7f55dc
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2026-06-11 (Thu, 11 Jun 2026)

  Changed paths:
    M llvm/docs/ReleaseNotes.md
    M llvm/include/llvm/ADT/APInt.h
    M llvm/lib/Support/APInt.cpp
    M llvm/unittests/ADT/APIntTest.cpp

  Log Message:
  -----------
  [APInt] Provide sqrtFloor (floor of square root) instead of sqrt (rounded) (#197406)

This simplifies both the implementation and the only in-tree user.

I changed the name to avoid silently changing the behavour of an
existing function that might have out-of-tree users.



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