1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib/Transforms
Dmitry Venikov ad27a6a17a [InstCombine] Missed optimization in math expression: sin(x) / cos(x) => tan(x)
Summary: This patch enables folding sin(x) / cos(x) -> tan(x), cos(x) / sin(x) -> 1 / tan(x) under -ffast-math flag

Reviewers: hfinkel, spatel

Reviewed By: spatel

Subscribers: andrew.w.kaylor, efriedma, scanon, llvm-commits

Differential Revision: https://reviews.llvm.org/D41286

llvm-svn: 322255
2018-01-11 06:33:00 +00:00
..
Coroutines Use phi ranges to simplify code. No functionality change intended. 2017-12-30 15:27:33 +00:00
Hello
InstCombine [InstCombine] Missed optimization in math expression: sin(x) / cos(x) => tan(x) 2018-01-11 06:33:00 +00:00
Instrumentation Avoid int to string conversion in Twine or raw_ostream contexts. 2017-12-28 16:58:54 +00:00
IPO LowerTypeTests: Add limited support for aliases 2018-01-10 00:00:51 +00:00
ObjCARC Remove redundant includes from lib/Transforms. 2017-12-13 21:31:01 +00:00
Scalar [LoopRotate] Detect loops with indirect branches better (we're giving up on them). 2018-01-09 23:54:35 +00:00
Utils [InstCombine] Missed optimization in math expression: sin(x) / cos(x) => tan(x) 2018-01-11 06:33:00 +00:00
Vectorize Add explanatory comment to LoadStoreVectorizer. 2018-01-10 03:02:12 +00:00
CMakeLists.txt
LLVMBuild.txt