[InstCombine] add tests for llvm.sin(-x); NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 29 Aug 2018 18:11:42 +0000 (18:11 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 29 Aug 2018 18:11:42 +0000 (18:11 +0000)
commit12a7ea44edaa289cce04b6e489407f58e4025aa4
tree216ff7ca02cab3c44931e93fbddb17f1155e3721
parent245ebd71ef2f4c015a58fe0c6c625fb650bbf502
[InstCombine] add tests for llvm.sin(-x); NFC

Also add a corresponding test for llvm.cos with FMF to
make sure that was handled correctly.

llvm-svn: 340950
llvm/test/Transforms/InstCombine/cos-sin-intrinsic.ll [moved from llvm/test/Transforms/InstCombine/cos-intrinsic.ll with 63% similarity]