Skip to content

Commit

Permalink
[WebAssembly] Use default attributes for intrinsics
Browse files Browse the repository at this point in the history
This switches wasm intrinsics to use default attributes,
i.e. nofree, nosync, nocallback and willreturn. Especially
willreturn will be required to avoid optimization regressions
in the future.

The attributes are omitted from the trapping fptoi intrinsics
(where I assume trapping is considered well-defined, and as such
these aren't willreturn), the throw/rethrow intrinsics (which
will unwind) and the atomic intrinsics (which aren't nosync).

Differential Revision: https://reviews.llvm.org/D137551
  • Loading branch information
nikic committed Nov 7, 2022
1 parent a50c269 commit d35fcf0
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 164 deletions.
Loading

0 comments on commit d35fcf0

Please sign in to comment.