This is an archive of the discontinued LLVM Phabricator instance.

[AVR] Select 16-bit LDS/STS for load/store on AVRTiny.
ClosedPublic

Authored by benshi001 on Dec 8 2022, 6:18 PM.

Details

Summary

The 32-bit LDS/STS are not available on AVRTiny, so we have
to use their compact 16-bit form for memory access.

Diff Detail

Event Timeline

benshi001 created this revision.Dec 8 2022, 6:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2022, 6:18 PM
Herald added subscribers: Jim, hiraditya. · View Herald Transcript
benshi001 requested review of this revision.Dec 8 2022, 6:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2022, 6:18 PM
benshi001 updated this revision to Diff 481494.Dec 8 2022, 6:26 PM
aykevl accepted this revision.Dec 22 2022, 7:38 AM

Looks good to me

llvm/lib/Target/AVR/AVRInstrInfo.td
216

It would have been a bit cleaner to include this in the previous patch but it's fine now.

This revision is now accepted and ready to land.Dec 22 2022, 7:38 AM
This revision was landed with ongoing or failed builds.Dec 22 2022, 7:04 PM
This revision was automatically updated to reflect the committed changes.