[PATCH] D51435: [SLC] Support expanding pow(x, n+0.5) to x * x * ... * sqrt(x)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 30 09:12:59 PDT 2018


spatel added a comment.

Comment + extra tests look good.

Given the revert of https://reviews.llvm.org/D49273, make the getSqrtCall() diff an NFC commit ahead of this patch + generalize that for any libcall, so we make sure that we're not generating libcalls when we're not allowed to?


https://reviews.llvm.org/D51435





More information about the llvm-commits mailing list