[PATCH] D117802: [AVR] Use correct register class for LPM/ELPM

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 20 09:41:33 PST 2022


aykevl created this revision.
aykevl added reviewers: dylanmckay, benshi001.
Herald added subscribers: Jim, hiraditya.
aykevl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This was worked around in pseudo instruction expanson pass using `scavengeGPR8` or pushing/popping registers, but there is a much simpler solution: specify the correct register class for these instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117802

Files:
  llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
  llvm/lib/Target/AVR/AVRInstrInfo.td
  llvm/lib/Target/AVR/AVRRegisterInfo.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117802.401674.patch
Type: text/x-patch
Size: 6308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220120/51f911c1/attachment.bin>


More information about the llvm-commits mailing list