[PATCH] D41283: [WIP][InstCombine] Missed optimization in math expression: tan(a) * cos(a) == sin(a)

Dmitry Venikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 01:13:59 PST 2018


Quolyk updated this revision to Diff 128602.
Quolyk edited the summary of this revision.
Quolyk added a comment.

As in https://reviews.llvm.org/D41389 I have tan calls that are never used and never erased.


https://reviews.llvm.org/D41283

Files:
  include/llvm/IR/PatternMatch.h
  lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  test/Transforms/InstCombine/fmul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41283.128602.patch
Type: text/x-patch
Size: 6975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180104/2ca0d7a6/attachment-0001.bin>


More information about the llvm-commits mailing list