[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)
commitb23e148114d81898d7357ca5d6d18966497a37c1
tree30e574ad3743135edf30c65f498b14861264dbc3
parentac9cbd6c56e7bc6bcc6af3bf32c61e9dac5a48d2
[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

llvm-svn: 320312
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/test/Transforms/InstCombine/pow-1.ll