[libclc] [libclc][NFC] De-duplicate subgroup workitem function decls and reorganize (PR #189328)
Wenju He via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 30 01:50:30 PDT 2026
wenju-he wrote:
> Honestly I'd rather merge all of the other cases into one file than continue doing this. It's a lot of extra boilerplate and just burning build time to have one function per file. The only reason to maintain this is the source file based target overriding, which would be better served by building all of the components into libraries and letting the linker take handle it.
Done, merged sub-group workitem functions into one file.
Also copied generic sub-group workitem functions into nvptx file to avoid nvptx change.
https://github.com/llvm/llvm-project/pull/189328
More information about the cfe-commits
mailing list