diff options
author | Derek Schuff <dschuff@chromium.org> | 2024-11-19 14:23:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-19 22:23:48 +0000 |
commit | 206ad2906c9e0af92ec4c4da223c96755243aa2e (patch) | |
tree | a150173aeb50904056377515c8938d955b4bfaf8 /src/passes/NameList.cpp | |
parent | b0e999a2b8841d8be21cbcdc84cbc1d6469e36d7 (diff) | |
download | binaryen-206ad2906c9e0af92ec4c4da223c96755243aa2e.tar.gz binaryen-206ad2906c9e0af92ec4c4da223c96755243aa2e.tar.bz2 binaryen-206ad2906c9e0af92ec4c4da223c96755243aa2e.zip |
Add nontrapping-fptoint lowering pass (#7016)
This pass lowers nontrapping FP to int instructions to implement LLVM's
conversion behavior.
This means that they are not fully complete lowerings according to the
wasm spec, but have the same
undefined behavior that LLM does. This keeps the pass simpler and
preserves existing behavior when
compiling without nontrapping-ft.
This will be used in emscripten, so that we can build libraries with
nontrapping-fp and lower them away after link if desired.
Diffstat (limited to 'src/passes/NameList.cpp')
0 files changed, 0 insertions, 0 deletions