[PATCH] D28236: InstCombine: Fold cos(-x) -> cos(x)
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 09:27:05 PST 2017
arsenm added inline comments.
================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:1641
+ case Intrinsic::cos:
+ case Intrinsic::amdgcn_cos: {
+ Value *SrcSrc;
----------------
davide wrote:
> While here, I also noticed the `amdgcn_cos` is not documented in `LangRef`, maybe it could be (or somewhere else)
Do we have formal documentation for target specific intrinsics? I thought only generic intrinsics belonged in the LangRef
https://reviews.llvm.org/D28236
More information about the llvm-commits
mailing list