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

Jon Chesterfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 19 09:56:33 PDT 2022


JonChesterfield added a reviewer: b-sumner.
JonChesterfield added a comment.

Tagging Brian as the code owner of rocm device libs - emitting these in clang would simplify that library.

Currently clang reads these commandline flags and conditionally links in bitcode files to introduce these symbols. There's existing command line flags for controlling which files are linked. I think this patch should probably use the existing flags to choose which values to set and delete the existing handling.

As written I think this is a no op, in that the libraries will currently be linked anyway and override the symbols clang has injected


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