[all-commits] [llvm/llvm-project] d35fcf: [WebAssembly] Use default attributes for intrinsics
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Nov 7 08:09:22 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d35fcf0e97e7bb02381506a71e61ec282b292c50
https://github.com/llvm/llvm-project/commit/d35fcf0e97e7bb02381506a71e61ec282b292c50
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-11-07 (Mon, 07 Nov 2022)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
M llvm/test/CodeGen/WebAssembly/lower-wasm-ehsjlj.ll
Log Message:
-----------
[WebAssembly] Use default attributes for intrinsics
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
More information about the All-commits
mailing list