benshi001 added a comment. ShiftAmount = 7 is implemented in https://reviews.llvm.org/D90678 . Now llvm-avr generates the same asm for 8-bit shifts when ShiftAmount = 1,2,3,4,5,6, 7. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D89047/new/ https://reviews.llvm.org/D89047