Files
clang-p2996/llvm/test/Transforms/LoopUnroll/WebAssembly/lit.local.cfg
Sam Parker 9d81ccc02f [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
2021-02-10 08:25:46 +00:00

3 lines
75 B
INI

if not 'WebAssembly' in config.root.targets:
config.unsupported = True