diff options
author | Sam Parker <sam.parker@arm.com> | 2021-02-10 08:22:45 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2021-02-10 08:25:46 +0000 |
commit | 9d81ccc02ffb154cd5ee7ade21740dc4a45f4261 (patch) | |
tree | 21dee180fefb0ad5c18651aec6029f7fa8cd305a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 7eee8585859c8fa5826483fb7ff30a077fc1a57f (diff) | |
download | llvm-9d81ccc02ffb154cd5ee7ade21740dc4a45f4261.zip llvm-9d81ccc02ffb154cd5ee7ade21740dc4a45f4261.tar.gz llvm-9d81ccc02ffb154cd5ee7ade21740dc4a45f4261.tar.bz2 |
[WebAssembly] Enable loop unrolling
Enable partial and runtime unrolling with a threshold of 30, which
was derived from a large number of kernels running on node and
wasmtime for amd64 and aarch64.
Unrolling is enabled by default at -O2 and -O3 and is disabled at
-Oz and -Os. Compiling with -Os is recommended if the wasm binary
size is the most important factor.
Differential Revision: https://reviews.llvm.org/D95125
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions