[PATCH] D90092: [AVR] Optimize 16-bit int shift

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 31 14:17:38 PDT 2020


aykevl added a comment.

See my comment D89047#2366709 <https://reviews.llvm.org/D89047#2366709>.
I think this optimization would be implemented better in SelectionDAG instead of using pseudo-instructions. That would also make it possible to optimize things like `(short)x << 12`.


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

https://reviews.llvm.org/D90092



More information about the llvm-commits mailing list