These intrinsics are similar to llvm.minnum and llvm.maxnum except
that they follow WebAssembly's NaN propagating rules. Loosely, if
either argument is a NaN, the result is also a NaN. Depends on D52325.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 22948 Build 22948: arc lint + arc unit
Event Timeline
Comment Actions
The big question I have about this CL is whether these intrinsics should be target-independent instead of specific to the wasm. Their functionality is certainly not wasm-specific. @dschuff what do you think? I would just have to rename them and add documentation to the language reference. The downside is that I expect getting this merged as target independent intrinsics would be more difficult.
Comment Actions
As discussed today, I will make these intrinsics target-independent since they will be included in IEEE-754 2018.