This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] CSEMIRBuilder: Add support for G_GEP
ClosedPublic

Authored by volkan on Aug 15 2019, 3:13 PM.

Details

Summary

This patch adds G_GEP to shouldCSEOpc so that it can be CSEd. It also refactors
translateGetElementPtr by replacing createGenericVirtualRegister calls with types.

Diff Detail

Repository
rL LLVM

Event Timeline

volkan created this revision.Aug 15 2019, 3:13 PM
This revision is now accepted and ready to land.Aug 15 2019, 3:33 PM
volkan edited the summary of this revision. (Show Details)Aug 15 2019, 3:37 PM
This revision was automatically updated to reflect the committed changes.