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

Daan Sprenkels via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 6 11:20:28 PDT 2019


dsprenkels created this revision.
dsprenkels added a reviewer: dylanmckay.
dsprenkels added a project: LLVM.
Herald added subscribers: llvm-commits, hiraditya.
dsprenkels edited the summary of this revision.

  This patch introduces the ROLBRd and RORBRd pseudo-instructions,
  which implemenent the "traditional" rotate operations; instead of
  the AVR rotate instructions that use the carry bit.
  
  The code is not optimized at all. Especially when dealing with
  loops of rotate instructions, this codegen should be improved some
  day.

Related bug: 41358 https://bugs.llvm.org/show_bug.cgi?id=41358

//Note//: This is my first submitted patch.


Repository:
  rL LLVM

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.194025.patch
Type: text/x-patch
Size: 5687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190406/fa70a6be/attachment.bin>


More information about the llvm-commits mailing list