HomePhabricator

[AVR] Improve inline rotate/shift expansions

Authored by aykevl on Aug 23 2020, 5:17 AM.

Description

[AVR] Improve inline rotate/shift expansions

These expansions were rather inefficient and were done with more code
than necessary. This change optimizes them to use expansions more
similar to GCC. The code size is the same (when optimizing for code
size) but somehow LLVM reorders blocks in a non-optimal way. Still, this
should be an improvement with a reduction in code size of around 0.12%
(when building compiler-rt).

Differential Revision: https://reviews.llvm.org/D86418

Details

Committed
aykevlOct 31 2020, 3:15 PM
Differential Revision
D86418: [AVR] Improve inline rotate/shift expansions
Parents
rG235dfcf70abc: [mlir][AsmPrinter] Fix crash in windows build after D89354
Branches
Unknown
Tags
Unknown