This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Remove code duplicateation between InstCombiner.h and InstCombineInternal.h.
ClosedPublic

Authored by craig.topper on Dec 16 2022, 10:38 AM.

Details

Summary

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.

Diff Detail

Event Timeline

craig.topper created this revision.Dec 16 2022, 10:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2022, 10:38 AM
craig.topper requested review of this revision.Dec 16 2022, 10:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2022, 10:38 AM
nikic accepted this revision.Dec 16 2022, 11:29 AM

LG, nice find!

This revision is now accepted and ready to land.Dec 16 2022, 11:29 AM

Upload the whole patch.

This revision was landed with ongoing or failed builds.Dec 16 2022, 11:42 AM
This revision was automatically updated to reflect the committed changes.