Page MenuHomePhabricator

GlobalISel: Artifact combine merge-like opcode and unmerge into copy
Needs ReviewPublic

Authored by Petar.Avramovic on Sep 3 2021, 9:19 AM.

Details

Summary

Recognize copy that is represented as split of a source register to
elements that were reassembled to another register with the same type.

Diff Detail

Event Timeline

Petar.Avramovic created this revision.Sep 3 2021, 9:19 AM
Petar.Avramovic requested review of this revision.Sep 3 2021, 9:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 3 2021, 9:19 AM
Petar.Avramovic retitled this revision from [GlobalISel] Build_vector artifact combine into copy to GlobalISel: Artifact combine merge-like opcode and unmerge into copy.
Petar.Avramovic edited the summary of this revision. (Show Details)
arsenm added inline comments.Sun, Jan 16, 5:54 PM
llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
1081

Should this be merged in with ArtifactValueFinder?