OSDN Git Service

[SimplifyLibCalls] propagate FMF when folding pow(x, 2.0) call (PR35601)
authorSanjay Patel <spatel@rotateright.com>
Sun, 10 Dec 2017 16:52:26 +0000 (16:52 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 10 Dec 2017 16:52:26 +0000 (16:52 +0000)
commit80f45964589a091193e3751c09e0e5f969518659
tree092e1f9b6994c2b255e77ff1765a6cbbb7cb8b1a
parent8235ce69fba7b378fef26c470987610999a5a463
[SimplifyLibCalls] propagate FMF when folding pow(x, 2.0) call (PR35601)

This should fix the larger problem with sqrt shown in:
https://bugs.llvm.org/show_bug.cgi?id=35601

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