<div dir="ltr"><div><a href="https://reviews.llvm.org/D41659">https://reviews.llvm.org/D41659</a><br><br></div>Implemented missing trigonometric optimization in llvm.<br><br><div class="gmail-phui-property-list-text-content"><div class="gmail-phabricator-remarkup"><p>Here we have implemented the following missing trigonometric optimizations.</p>
<ol class="gmail-remarkup-list"><li class="gmail-remarkup-list-item">tan(x)*cos(x)=sin(x)</li><li class="gmail-remarkup-list-item">sin(x)*cos(x) = sin(2*x)/2</li><li class="gmail-remarkup-list-item">sin(x)/tan(x)=cos(x);</li><li class="gmail-remarkup-list-item">tan(x)/sin(x)=1/cos(x);</li></ol></div></div></div>