diff options
author | Nikita Popov <npopov@redhat.com> | 2022-11-07 15:50:05 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-11-07 17:05:36 +0100 |
commit | d35fcf0e97e7bb02381506a71e61ec282b292c50 (patch) | |
tree | 1250017de31217cd78f448ef0812c43acfa0f876 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | a50c269c7372f5f0373fe3876ed8f8acf0e2f12d (diff) | |
download | llvm-d35fcf0e97e7bb02381506a71e61ec282b292c50.zip llvm-d35fcf0e97e7bb02381506a71e61ec282b292c50.tar.gz llvm-d35fcf0e97e7bb02381506a71e61ec282b292c50.tar.bz2 |
[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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions