[PATCH] D140230: [InstCombine] Remove code duplicateation between InstCombiner.h and InstCombineInternal.h.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 10:38:28 PST 2022


craig.topper created this revision.
craig.topper added reviewers: spatel, nikic, RKSimon, lebedev.ri.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140230

Files:
  llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140230.483590.patch
Type: text/x-patch
Size: 4244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221216/26d698b5/attachment.bin>


More information about the llvm-commits mailing list