[PATCH] D155191: clang/HIP: Directly use f32 exp and log builtins

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 13 05:52:37 PDT 2023


arsenm created this revision.
arsenm added reviewers: AMDGPU, yaxunl, jhuber6, JonChesterfield.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.

These are now lowered correctly by the backend, and you get proper
fast math flags when directly handled.


https://reviews.llvm.org/D155191

Files:
  clang/lib/Headers/__clang_hip_math.h
  clang/test/Headers/__clang_hip_math.hip

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155191.539979.patch
Type: text/x-patch
Size: 5017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230713/2408ed06/attachment.bin>


More information about the cfe-commits mailing list