HomePhabricator

[InstCombine] Missed optimization in math expression: squashing sqrt functions

Authored by Quolyk on Jan 1 2018, 9:58 PM.

Description

[InstCombine] Missed optimization in math expression: squashing sqrt functions

Summary: This patch enables folding under -ffast-math flag sqrt(a) * sqrt(b) -> sqrt(a*b)

Reviewers: hfinkel, spatel, davide

Reviewed By: spatel, davide

Subscribers: davide, llvm-commits

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

llvm-svn: 321637

Details

Committed
QuolykJan 1 2018, 9:58 PM
Reviewer
spatel
Differential Revision
D41322: [InstCombine] Missed optimization in math expression: squashing sqrt functions
Parents
rGd2257be8b76b: Test commit
Branches
Unknown
Tags
Unknown