The latter has accuracy issues around 0. The lowering in MathToLLVM is kept for now.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D131676
Don't lower log1p(x) to log(1 + x). ClosedPublic Authored by jreiffers on Aug 11 2022, 6:56 AM.
Details
Summary The latter has accuracy issues around 0. The lowering in MathToLLVM is kept for now.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 12 2022, 12:38 AM Closed by commit rG375a5cb64883: Don't lower log1p(x) to log(1 + x). (authored by jreiffers). · Explain WhyAug 15 2022, 9:58 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 452890 mlir/include/mlir/Conversion/MathToLibm/MathToLibm.h
mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
mlir/lib/Conversion/MathToLibm/MathToLibm.cpp
mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
mlir/test/Conversion/MathToLibm/convert-to-libm.mlir
|