[all-commits] [llvm/llvm-project] 243b7a: [SelectionDAG] Use KnownBits::countMinSignBits() t...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Dec 31 17:32:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 243b7aaf51e8ad04910ea1f8779db07d6fee2481
      https://github.com/llvm/llvm-project/commit/243b7aaf51e8ad04910ea1f8779db07d6fee2481
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-12-31 (Fri, 31 Dec 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Use KnownBits::countMinSignBits() to simplify the end of ComputeNumSignBits.

This matches what is done in ValueTracking.cpp

Reviewed By: RKSimon, foad

Differential Revision: https://reviews.llvm.org/D116423




More information about the All-commits mailing list