[PATCH] D95125: [WebAssembly] Enable loop unrolling

Alon Zakai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 22 14:20:18 PST 2021


kripken added a comment.

In D95125#2516677 <https://reviews.llvm.org/D95125#2516677>, @tlively wrote:

> I'm inclined to merge this and leave it to users for whom the code size increase is unacceptable to use -Os/-Oz/-fno-unroll-loops to disable it.

Is it possible to do this in -O3 but not -O2 or -O1?

> I'd be curious to see the code size and perf impacts are on the Emscripten benchmark suite, too.

Good idea! Several real-world codebases there that are easy to measure for size and speed. Let me know if I can help.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95125/new/

https://reviews.llvm.org/D95125



More information about the llvm-commits mailing list