[Mlir-commits] [mlir] [mlir][Parser] Add `nan` and `inf` keywords (PR #116176)

River Riddle llvmlistbot at llvm.org
Wed Nov 20 00:35:16 PST 2024


River707 wrote:

I'm kind of iffy on this mostly because I don't like the "unspecified" nature of things like this. That being said, if others find this useful I have a few comments:

1. This needs to be documented somewhere (likely in the langref)
2. Why just `nan` keyword? The general float formatting IIRC also allows for representing things like `snan` and nan with a payload. That would help a bit with covering the spectrum of specifying the behavior.

https://github.com/llvm/llvm-project/pull/116176


More information about the Mlir-commits mailing list