diff options
| author | Tim Northover <tnorthover@apple.com> | 2018-09-13 10:28:05 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2018-09-13 10:28:05 +0000 |
| commit | c15d47bb013e975da582c8fd786ba8234d70d75d (patch) | |
| tree | e13262451793600a29c0df26342fc954e1a8a79a /llvm/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp | |
| parent | 95ac65bc32180744cbc67d4e82a0f6417fb92aa9 (diff) | |
| download | bcm5719-llvm-c15d47bb013e975da582c8fd786ba8234d70d75d.tar.gz bcm5719-llvm-c15d47bb013e975da582c8fd786ba8234d70d75d.zip | |
ARM: align loops to 4 bytes on Cortex-M3 and Cortex-M4.
The Technical Reference Manuals for these two CPUs state that branching
to an unaligned 32-bit instruction incurs an extra pipeline reload
penalty. That's bad.
This also enables the optimization at -Os since it costs on average one
byte per loop in return for 1 cycle per iteration, which is pretty good
going.
llvm-svn: 342127
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp')
0 files changed, 0 insertions, 0 deletions

