[all-commits] [llvm/llvm-project] 65898e: [ConstantRange] Handle `Intrinsic::ctlz`

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Fri Feb 17 00:57:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65898e526060ae0f02de556c63dd3ce599d08c52
      https://github.com/llvm/llvm-project/commit/65898e526060ae0f02de556c63dd3ce599d08c52
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2023-02-17 (Fri, 17 Feb 2023)

  Changed paths:
    M llvm/include/llvm/IR/ConstantRange.h
    M llvm/lib/IR/ConstantRange.cpp
    M llvm/test/Transforms/CorrelatedValuePropagation/range.ll
    M llvm/unittests/IR/ConstantRangeTest.cpp

  Log Message:
  -----------
  [ConstantRange] Handle `Intrinsic::ctlz`

Introduce ConstantRange support for ctlz intrinsic, including
exhaustive testing. Among other things, LVI may now be able to
propagate information about cltz constant ranges lattice values.

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




More information about the All-commits mailing list