aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2018-09-13 10:28:05 +0000
committerTim Northover <tnorthover@apple.com>2018-09-13 10:28:05 +0000
commitc15d47bb013e975da582c8fd786ba8234d70d75d (patch)
treee13262451793600a29c0df26342fc954e1a8a79a /llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
parent95ac65bc32180744cbc67d4e82a0f6417fb92aa9 (diff)
downloadllvm-c15d47bb013e975da582c8fd786ba8234d70d75d.zip
llvm-c15d47bb013e975da582c8fd786ba8234d70d75d.tar.gz
llvm-c15d47bb013e975da582c8fd786ba8234d70d75d.tar.bz2
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/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp')
0 files changed, 0 insertions, 0 deletions