[PATCH] D80702: [AMDGPU] Fold llvm.amdgcn.cos and llvm.amdgcn.sin intrinsics

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 29 02:41:08 PDT 2020


foad updated this revision to Diff 267149.
foad marked an inline comment as done.
foad added a comment.

- Force exact results for quarter-integer inputs
- Use numbers::pi
- Add strictfp tests


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80702

Files:
  llvm/lib/Analysis/ConstantFolding.cpp
  llvm/test/Analysis/ConstantFolding/AMDGPU/cos.ll
  llvm/test/Analysis/ConstantFolding/AMDGPU/sin.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80702.267149.patch
Type: text/x-patch
Size: 27610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200529/a1c563ca/attachment.bin>


More information about the llvm-commits mailing list