[PATCH] D89047: [AVR] Optimize 8-bit logic left/right shifts

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 04:41:42 PST 2020


benshi001 added a comment.

I have uploaded a new revision with more tests.

Now llvm-avr generates the same asm for logic left/right shifts when ShiftAmount = 1,2,3,4,5,6, except for 7.

This is shown in the test llvm/test/CodeGen/AVR/shift.ll.

Shall we commit this first? Then I will go on with the specific case ShiftAmount=7 in another patch.


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

https://reviews.llvm.org/D89047



More information about the llvm-commits mailing list