]> granicus.if.org Git - llvm/commit
[SimplifyLibCalls] powf(x, sitofp(n)) -> powi(x, n)
authorDavid Bolvansky <david.bolvansky@gmail.com>
Tue, 2 Jul 2019 15:58:45 +0000 (15:58 +0000)
committerDavid Bolvansky <david.bolvansky@gmail.com>
Tue, 2 Jul 2019 15:58:45 +0000 (15:58 +0000)
commit257696a391fd248ebf75f160e024da6fba0e1ff6
treef2a6d081cd66d47fd5a9011e9e0e12b72e25174d
parent91617efdef92b7aeccc4dd4654e5a5007b5d4963
[SimplifyLibCalls] powf(x, sitofp(n)) -> powi(x, n)

Summary:
Partially solves https://bugs.llvm.org/show_bug.cgi?id=42190

Reviewers: spatel, nikic, efriedma

Reviewed By: efriedma

Subscribers: efriedma, nikic, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364940 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/pow-4.ll
test/Transforms/InstCombine/pow_fp_int.ll