[PATCH] D50035: [SLC] Fix precision shrinking for pow()

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 18:55:49 PDT 2018


evandro created this revision.
evandro added reviewers: spatel, efriedma.
Herald added subscribers: llvm-commits, hiraditya.

Do not discard the shrunk version of `pow()` when no simplification applies.


Repository:
  rL LLVM

https://reviews.llvm.org/D50035

Files:
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/InstCombine/double-float-shrink-1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50035.158157.patch
Type: text/x-patch
Size: 9909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180731/1122514a/attachment.bin>


More information about the llvm-commits mailing list