[all-commits] [llvm/llvm-project] e59171: [ConstantFolding] fold abs intrinsic

RotateRight via All-commits all-commits at lists.llvm.org
Fri Jul 31 11:09:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e591713bff1fdec8fe2b09d084b5cf665794cb65
      https://github.com/llvm/llvm-project/commit/e591713bff1fdec8fe2b09d084b5cf665794cb65
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Analysis/ConstantFolding/abs.ll

  Log Message:
  -----------
  [ConstantFolding] fold abs intrinsic

The handling for minimum value is similar to cttz/ctlz with 0 just above this case.

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




More information about the All-commits mailing list