This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] WIP add DAG combining for rotates and GREVI
Needs ReviewPublic

Authored by craig.topper on Nov 30 2020, 1:14 PM.

Details

Reviewers
frasercrmck
Summary

This is an initial patch to enable combining (rotate (grev)) and (grev (rotate)). I've added a helper to match rotates that we care about. Not sure if I'm happy with it yet. The match needs more test cases.

Diff Detail

Event Timeline

craig.topper created this revision.Nov 30 2020, 1:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 30 2020, 1:14 PM
craig.topper requested review of this revision.Nov 30 2020, 1:14 PM