Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add nontrapping-fptoint lowering pass (#7016) | Derek Schuff | 2024-11-19 | 1 | -0/+180 |
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. |