[all-commits] [llvm/llvm-project] 5cabf1: [KnownBits] Make `avg{Ceil, Floor}S` optimal (#110688)

Jay Foad via All-commits all-commits at lists.llvm.org
Tue Oct 1 11:35:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cabf1505d2180083ae3cf34abd79924cbcdbdbf
      https://github.com/llvm/llvm-project/commit/5cabf1505d2180083ae3cf34abd79924cbcdbdbf
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    M llvm/include/llvm/Support/KnownBits.h
    M llvm/lib/Support/KnownBits.cpp
    M llvm/unittests/Support/KnownBitsTest.cpp

  Log Message:
  -----------
  [KnownBits] Make `avg{Ceil,Floor}S` optimal (#110688)

Rewrite the signed functions in terms of the unsigned ones which are
already optimal.



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