[all-commits] [llvm/llvm-project] 85b895: [WebAssembly] add: hidden option to disable slow w...
Austin Theriault via All-commits
all-commits at lists.llvm.org
Wed Oct 18 15:52:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 85b8958b56623cbe69be5cfcbb6c796ae48aff56
https://github.com/llvm/llvm-project/commit/85b8958b56623cbe69be5cfcbb6c796ae48aff56
Author: Austin Theriault <github at cutedogs.org>
Date: 2023-10-18 (Wed, 18 Oct 2023)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
Log Message:
-----------
[WebAssembly] add: hidden option to disable slow wasm pass (#67715)
Currently for any wasm target, llvm will make a pass that removes
irreducible control flow. (See
[here](https://llvm.org/doxygen/WebAssemblyFixIrreducibleControlFlow_8cpp.html)).
This can result in O(NumBlocks * NumNestedLoops * NumIrreducibleLoops +
NumLoops * NumLoops) build time, which has resulted in exceedingly long
build times when testing. This PR introduces a hidden flag to skip this
pass, which brings some of our build times down from 30 minutes to ~6
seconds.
More information about the All-commits
mailing list