Add the builtins for the new OpenCL extension. The specification is at: https://www.khronos.org/registry/OpenCL/specs/3.0-unified/html/OpenCL_Ext.html#cl_khr_subgroup_rotate
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM! I imagine tablegen side is being tested automatically?
Btw do we need to set the feature macro for SPIR/SPIR-V target and then test it too?
Comment Actions
The TableGen definitions are tested by clang/test/Headers/opencl-builtins.cl
Btw do we need to set the feature macro for SPIR/SPIR-V target and then test it too?
Good point! Added.