[all-commits] [llvm/llvm-project] ad476f: [InstCombine] Remove code duplication between Inst...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Dec 16 11:42:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad476fb217661b32cc397f1af79124a4a3d2a06d
      https://github.com/llvm/llvm-project/commit/ad476fb217661b32cc397f1af79124a4a3d2a06d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h

  Log Message:
  -----------
  [InstCombine] Remove code duplication between InstCombiner.h and InstCombineInternal.h.

The class in InstCombineInternal.h inherits from InstCombiner.h.
I think this split was created when target specific InstCombines
were moved to go through TTI.

I had to update some of the code in InstCombiner.h to match changes
that had been made to InstCombineInternal.h.

Reviewed By: nikic

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




More information about the All-commits mailing list