This is an archive of the discontinued LLVM Phabricator instance.

llvm-reduce: Fix handling of generic virtual registers
ClosedPublic

Authored by arsenm on Apr 13 2022, 10:59 AM.

Details

Summary

Try to preserve register banks, types and names. Fixes the lowest
hanging fruit in issue 54894.

Diff Detail

Event Timeline

arsenm created this revision.Apr 13 2022, 10:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 10:59 AM
arsenm requested review of this revision.Apr 13 2022, 10:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 10:59 AM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm updated this revision to Diff 422569.Apr 13 2022, 11:02 AM

Remove leftover junk

aeubanks added inline comments.Apr 13 2022, 1:01 PM
llvm/tools/llvm-reduce/ReducerWorkItem.cpp
47–48

is this supposed to be the same as the line above?

arsenm updated this revision to Diff 422639.Apr 13 2022, 1:27 PM

Don't double set the class/bank

aeubanks accepted this revision.Apr 13 2022, 2:35 PM
This revision is now accepted and ready to land.Apr 13 2022, 2:35 PM

LGTM and happy to see that there is interest in llvm-reduce MIR reduction.

markus accepted this revision.Apr 14 2022, 12:32 AM