[AVR] Optimize 8-bit rotation when rotation bits == 3
authorBen Shi <2283975856@qq.com>
Sun, 11 Jun 2023 00:41:44 +0000 (08:41 +0800)
committerBen Shi <2283975856@qq.com>
Sun, 11 Jun 2023 00:41:47 +0000 (08:41 +0800)
commit71d90f310867c78532c5bdb9ba553859910ee67e
treed9846606030eede4d97b0b0934437c59becf59a8
parente21df8296d09aff68039520ca1ab7dc4907922a2
[AVR] Optimize 8-bit rotation when rotation bits == 3

Fixes https://github.com/llvm/llvm-project/issues/63100

Reviewed By: aykevl

Differential Revision: https://reviews.llvm.org/D152365
llvm/lib/Target/AVR/AVRISelLowering.cpp
llvm/test/CodeGen/AVR/rotate.ll