mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-28 11:51:46 +00:00
Passing values less than 0 to the llvm.sqrt() intrinsic results in undefined behavior, so we need to check the input and return NaN if is is less than 0. v2: - Fix build failures. llvm-svn: 241906