[PATCH] D117957: [AVR] Remove unused register scavenger

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 22 10:29:34 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.

It was necessary in the past, but is not necessary anymore today. Instead, rely on the register allocator to allocate the correct registers.

For background on why it was necessary, see the comment here example: https://github.com/llvm/llvm-project/commit/8f515b1ef7ac3cb7350ca0b4ba173fd325b2f34c#diff-b9c2cfaa01415d254c2c2f29449511a07058c4c5c3e7628ee2c5692e0e89d470

This is a continuation from D117802 <https://reviews.llvm.org/D117802>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117957

Files:
  llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
  llvm/test/CodeGen/AVR/pseudo/ELPMWRdZ.mir
  llvm/test/CodeGen/AVR/pseudo/LDWRdPtr-same-src-dst.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117957.402235.patch
Type: text/x-patch
Size: 8329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220122/2837ccaf/attachment.bin>


More information about the llvm-commits mailing list