[PATCH] D60365: [AVR] Fix codegen for rotate instructions

Daan Sprenkels via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 19 03:05:30 PDT 2019


dsprenkels updated this revision to Diff 200179.
dsprenkels removed a reviewer: shepmaster.
dsprenkels added a comment.

Updates:

- Use the temporary registers r1 and r0, instead of scavenging spare registers.
  - And update the test case.
- Add the definition `const unsigned ZERO_REGISTER = AVR::R1` for future use.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60365/new/

https://reviews.llvm.org/D60365

Files:
  llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
  llvm/lib/Target/AVR/AVRISelLowering.cpp
  llvm/lib/Target/AVR/AVRInstrInfo.td
  llvm/test/CodeGen/AVR/rot.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60365.200179.patch
Type: text/x-patch
Size: 5714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190519/279db86f/attachment.bin>


More information about the llvm-commits mailing list