This is an archive of the discontinued LLVM Phabricator instance.

[GISel: Add support for CSEing SrcOps which are immediates
ClosedPublic

Authored by aditya_nandakumar on Jul 17 2020, 3:06 PM.

Details

Summary

This came up in attempting to CSE a target pseudo opcode.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJul 17 2020, 3:06 PM

Couldn't you test this with a G_EXTRACT?

Add G_EXTRACT to CSEConfigFull, and add unit test.

arsenm accepted this revision.Jul 17 2020, 3:44 PM
This revision is now accepted and ready to land.Jul 17 2020, 3:44 PM