This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][LLVM] Fold extractvalue to ignore insertvalue at distinct index
ClosedPublic

Authored by wsmoses on Mar 3 2022, 9:33 AM.

Details

Summary

We can simplify an extractvalue of an insertvalue to extract out of the base of the insertvalue, if the insert and extract are at distinct and non-prefix'd indices

Diff Detail

Event Timeline

wsmoses created this revision.Mar 3 2022, 9:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 9:33 AM
wsmoses requested review of this revision.Mar 3 2022, 9:33 AM
wsmoses updated this revision to Diff 412749.Mar 3 2022, 9:47 AM

Fix rebase

ftynse accepted this revision.Mar 4 2022, 4:23 AM
This revision is now accepted and ready to land.Mar 4 2022, 4:23 AM
This revision was landed with ongoing or failed builds.Mar 4 2022, 8:03 AM
This revision was automatically updated to reflect the committed changes.