[all-commits] [llvm/llvm-project] 0b293e: [APInt] Remove multiplicativeInverse with explicit...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Apr 4 09:24:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b293e8c36d97bbd7f85ed5b67ce510ff7fd86ee
      https://github.com/llvm/llvm-project/commit/0b293e8c36d97bbd7f85ed5b67ce510ff7fd86ee
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-04-04 (Thu, 04 Apr 2024)

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

  Log Message:
  -----------
  [APInt] Remove multiplicativeInverse with explicit modulus (#87644)

All callers have been changed to use the new simpler overload with an
implicit modulus of 2^BitWidth. The old form was never used or tested
with non-power-of-two modulus anyway.



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