[all-commits] [llvm/llvm-project] a444fe: [CVP] Handle use-site conditions in domain-based f...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jan 17 07:35:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a444fe07dd27580a3e8199831a27f5faa90a423e
      https://github.com/llvm/llvm-project/commit/a444fe07dd27580a3e8199831a27f5faa90a423e
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/test/Transforms/CorrelatedValuePropagation/cond-at-use.ll

  Log Message:
  -----------
  [CVP] Handle use-site conditions in domain-based folds

As a side-effect, this switchem them to use getConstantRange() rather
than getPredicateAt(). getPredicateAt() is not supposed to be more
powerful than getConstantRange() for non-equality comparisons (as
long as block values are used).




More information about the All-commits mailing list