[all-commits] [llvm/llvm-project] aff057: [ADT] Add implementations for avgFloor and avgCeil...

Atousa Duprat via All-commits all-commits at lists.llvm.org
Thu Mar 14 03:00:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aff05708916107eec73ea5db363f625926f60730
      https://github.com/llvm/llvm-project/commit/aff05708916107eec73ea5db363f625926f60730
  Author: Atousa Duprat <atousa.p at gmail.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    M llvm/include/llvm/ADT/APInt.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/Support/APInt.cpp
    M llvm/unittests/ADT/APIntTest.cpp

  Log Message:
  -----------
  [ADT] Add implementations for avgFloor and avgCeil to APInt (#84431)

Supports both signed and unsigned expansions.

SelectionDAG now calls the APInt implementation of these functions.

Fixes #84211.



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