[PATCH] D134921: [HLSL] add cos library function

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 29 16:27:32 PDT 2022


python3kgae added inline comments.


================
Comment at: clang/lib/Headers/hlsl/hlsl_intrinsics.h:111
+int16_t3 cos(int16_t3);
+__attribute__((clang_builtin_alias(__builtin_elementwise_cos)))
+int16_t4 cos(int16_t4);
----------------
why there're integer overloads?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134921/new/

https://reviews.llvm.org/D134921



More information about the cfe-commits mailing list