jayfoad wrote: > nsz on fptoui wouldn't have any effect, because fptoui 0.0 and fptoui -0.0 > both produce the same value. It does need to be on the uitofp, it just can't > use our standard semantics...
OK, I think I follow. That should be called out in the documentation for this patch. > So `contract + nsz` would be better? No, `contract` should be reserved for cases where combining two operations eliminates an intermediate rounding step. https://github.com/llvm/llvm-project/pull/198470 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
