[PATCH] D140569: [AVR] Custom lower 32-bit shift instructions

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 26 09:55:03 PST 2022


aykevl updated this revision to Diff 485313.
aykevl added a comment.

Update to use opcodes instead of `ShiftAmt` and `ArithmeticShift`.

@benshi001 I updated the patch following your comment here: https://reviews.llvm.org/D138529#inline-1345614. While working on lowering the shift as a loop I found opcodes to be easier to work with. If this is a good way forward, I will update all other patches as well.


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

https://reviews.llvm.org/D140569

Files:
  llvm/lib/Target/AVR/AVRISelLowering.cpp
  llvm/lib/Target/AVR/AVRISelLowering.h
  llvm/lib/Target/AVR/AVRInstrInfo.td
  llvm/test/CodeGen/AVR/avr-rust-issue-123.ll
  llvm/test/CodeGen/AVR/div.ll
  llvm/test/CodeGen/AVR/rem.ll
  llvm/test/CodeGen/AVR/return.ll
  llvm/test/CodeGen/AVR/shift32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140569.485313.patch
Type: text/x-patch
Size: 19938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221226/28d0a516/attachment.bin>


More information about the llvm-commits mailing list