[LibCallSimplifier] use instruction-level fast-math-flags to transform log calls
authorSanjay Patel <spatel@rotateright.com>
Mon, 11 Jan 2016 23:31:48 +0000 (23:31 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 11 Jan 2016 23:31:48 +0000 (23:31 +0000)
commitf8f4df59dc4afa5478d3e307e9d5aa38e3946755
tree577c63839eb68726b0e9af8682a9e4ffeec9aabf
parent8e7d4818470f7d1c3f9f32a32420528324f57a4c
[LibCallSimplifier] use instruction-level fast-math-flags to transform log calls

Also, add tests to verify that we're checking 'fast' on both calls of each transform pair,
tighten the CHECK lines, and give the tests more meaningful names.

This is a continuation of:
http://reviews.llvm.org/rL255555
http://reviews.llvm.org/rL256871
http://reviews.llvm.org/rL256964
http://reviews.llvm.org/rL257400
http://reviews.llvm.org/rL257404

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