diff options
| author | Johannes Reifferscheid <jreiffers@google.com> | 2024-04-15 12:04:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-15 12:04:36 +0200 |
| commit | 33e60f358cc0c564e771c0234dd8a60f3bddce5d (patch) | |
| tree | dbe1fc29d36c398f3e2b865dc46486774b649fc3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 0822780b7ffa552b351364be350a997a47f22250 (diff) | |
Fix rsqrt inaccuracies. (#88707)
The current lowering has issues with large/subnormal values. This po
XLA's lowering and was verified using XLA's test suite and the
MLIR-based emitters.
This updates https://github.com/llvm/llvm-project/pull/88691 to also
update the correctness test for rsqrt(0). I checked C++ and Python, they
both agree the result should be (inf, nan). Updated the correctness test
to match this.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
