[all-commits] [llvm/llvm-project] 4b19cc: [PredicateInfo] Fold PredicateWithCondition into P...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Jul 18 08:22:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b19cccbb5d8d77750da96cef2daefa6c28b0e37
      https://github.com/llvm/llvm-project/commit/4b19cccbb5d8d77750da96cef2daefa6c28b0e37
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-07-18 (Sat, 18 Jul 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/PredicateInfo.h
    M llvm/lib/Transforms/Scalar/NewGVN.cpp

  Log Message:
  -----------
  [PredicateInfo] Fold PredicateWithCondition into PredicateBase (NFC).

Each concrete instance of a predicate has a condition (also noted in the
original PredicateBase comment) and to me it seems like there is no
clear benefit of having both PredicateBase and PredicateWithCondition
and they can be folded together.

Reviewers: nikic, efriedma

Reviewed By: nikic

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




More information about the All-commits mailing list