[PATCH] D139742: [HLSL] Add trunc library function

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 16:25:28 PST 2022


python3kgae accepted this revision.
python3kgae added a comment.
This revision is now accepted and ready to land.

LGTM.
Remember to double check the commit message updated to trunc too.

Just noticed we don't have double trunc(double) for hlsl now (hlsl 2021). Need make sure to generate float overload DXIL on older shader model when parameter is double in hlsl.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139742



More information about the cfe-commits mailing list