OSDN Git Service

[SimplifyLibCalls] propagate FMF when folding pow(x, -1.0) call
authorSanjay Patel <spatel@rotateright.com>
Sun, 10 Dec 2017 17:25:54 +0000 (17:25 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 10 Dec 2017 17:25:54 +0000 (17:25 +0000)
commitac349fb9d87d1a0344ec2b8897788e794ccdd455
tree3c6279c66b0b115212f3aef3ebfc90a89a2447d7
parent922e02340f9290f85f4786bddcef8c909e0bb800
[SimplifyLibCalls] propagate FMF when folding pow(x, -1.0) call

Follow-up for a bug that's similar to:
https://bugs.llvm.org/show_bug.cgi?id=35601

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