HomePhabricator

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

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

Details

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