[PATCH] D130096: [Clang][AMDGPU] Emit AMDGPU library control constants in clang

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 3 14:13:29 PDT 2022


jhuber6 added inline comments.


================
Comment at: clang/test/CodeGen/amdgcn-control-constants.c:8
+
+// GFX90A: @__oclc_daz_opt = linkonce_odr hidden local_unnamed_addr addrspace(4) constant i8 0, align 1
+// GFX90A: @__oclc_wavefrontsize64 = linkonce_odr hidden local_unnamed_addr addrspace(4) constant i8 1, align 1
----------------
yaxunl wrote:
> yaxunl wrote:
> > need an OpenCL test for -cl-denorms-are-zero
> still missing this test, and some other tests for -cl-* options as commented below.
> 
> Also, missing a HIP test for -ffast-math
The cc1 math options tested individually should be enabled by `-ffast-math`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130096



More information about the cfe-commits mailing list