[PATCH] D41286: [InstCombine] Missed optimization in math expression: sin(x) / cos(x) => tan(x)

Dmitry Venikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 7 00:49:38 PST 2018


Quolyk updated this revision to Diff 128867.

https://reviews.llvm.org/D41286

Files:
  include/llvm/Transforms/Utils/BuildLibCalls.h
  lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  lib/Transforms/Utils/BuildLibCalls.cpp
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Transforms/InstCombine/fdiv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41286.128867.patch
Type: text/x-patch
Size: 7532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180107/4a6c9ed7/attachment.bin>


More information about the llvm-commits mailing list