aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorJacob Lambert <jacob.lambert@amd.com>2023-03-10 00:47:50 -0800
committerJacob Lambert <jacob.lambert@amd.com>2023-03-14 14:12:31 -0700
commite48ae0dbd80d58ce8eded9e55f0b1262d52517af (patch)
treeb4d93a50dd7d2f625a297ea7e6ed6e4936243103 /llvm/lib/CodeGen/CommandFlags.cpp
parentc361741a271db0330f17dbebec18dcb4779a6252 (diff)
downloadllvm-e48ae0dbd80d58ce8eded9e55f0b1262d52517af.zip
llvm-e48ae0dbd80d58ce8eded9e55f0b1262d52517af.tar.gz
llvm-e48ae0dbd80d58ce8eded9e55f0b1262d52517af.tar.bz2
[clang-offload-bundler] Standardize TargetID field for bundler
The bundler accepts both of the following for the --target option: hip-amdgcn-amd-amdhsa-gfx900 (no env field) hip-amdgcn-amd-amdhsa--gfx900 (blank env field) The environment field is defined as optional for Triples in Triple.h. However, in this patch we update the bundler to internally standardize to include the env field. While users aren't required to specify an env field when listing targets on the commandline, bundles generated by the offload-bundler will include the ABI field. This standardization simplifies things for APIs that deal with bundles generated by the clang-offload-bundler tool. Differential Revision: https://reviews.llvm.org/D145770
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions