HomePhabricator

[DAGCombiner] Improve division estimation of floating points.

Description

[DAGCombiner] Improve division estimation of floating points.

Current implementation of estimating divisions loses precision since it
estimates reciprocal first and does multiplication. This patch is to re-order
arithmetic operations in the last iteration in DAGCombiner to improve the
accuracy.

Reviewed By: Sanjay Patel, Jinsong Ji

Differential Revision: https://reviews.llvm.org/D66050

Details

Committed
chaofanSep 12 2019, 12:51 AM
Differential Revision
D66050: Improve division estimation of floating points.
Parents
rL371712: [WebAssembly] Delete duplicate REQUIRES line
Branches
Unknown
Tags
Unknown