[AVR] Optimize 8-bit int shift
authorBen Shi <powerman1st@163.com>
Sun, 24 Jan 2021 03:04:37 +0000 (11:04 +0800)
committerBen Shi <powerman1st@163.com>
Sun, 24 Jan 2021 03:04:37 +0000 (11:04 +0800)
commit2a4acf3ea8db19981284468c354aea2835fbfa08
treec1c7f512493fe6010e694e2caa205436609f30c6
parentb890fafe672c01daac4ca2b8f740cd0cade78060
[AVR] Optimize 8-bit int shift

Reviewed By: dylanmckay

Differential Revision: https://reviews.llvm.org/D90678
llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
llvm/lib/Target/AVR/AVRISelLowering.cpp
llvm/lib/Target/AVR/AVRISelLowering.h
llvm/lib/Target/AVR/AVRInstrInfo.td
llvm/test/CodeGen/AVR/shift.ll
llvm/test/CodeGen/AVR/smul-with-overflow.ll