Skip to content
Commit 44993ede authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

[InstCombine] For cos/sin -> tan copy attributes from cos instead of the

parent function

Ideally we should merge the attributes from the functions somehow, but
this is obviously an improvement over taking random attributes from the
caller which will trip up the verifier if they're nonsensical for an
unary intrinsic call.

llvm-svn: 322284
parent e63d8dda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment