HomePhabricator

[InstSimplify] allow exp/log simplifications with only 'reassoc' FMF

Authored by spatel on Feb 12 2018, 3:51 PM.

Description

[InstSimplify] allow exp/log simplifications with only 'reassoc' FMF

These intrinsic folds were added with D41381, but only allowed with isFast().
That's more than necessary because FMF has 'reassoc' to apply to these
kinds of folds after D39304, and that's all we need in these cases.

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

llvm-svn: 324967