[all-commits] [llvm/llvm-project] 0e0aeb: [ValueTracking] Add ComputeNumSignBits support for...

topperc via All-commits all-commits at lists.llvm.org
Fri Jul 31 10:59:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e0aebc5273c6d676584ecb50ed49e888029c2de
      https://github.com/llvm/llvm-project/commit/0e0aebc5273c6d676584ecb50ed49e888029c2de
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/abs-intrinsic.ll

  Log Message:
  -----------
  [ValueTracking] Add ComputeNumSignBits support for llvm.abs intrinsic

If absolute value needs turn a negative number into a positive number it reduces the number of sign bits by at most 1.

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




More information about the All-commits mailing list