[amdgpu] Default to code object v3
commitdaf39e3f2dba18bd39cd89a1c91bae126a31d4fe
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Thu, 17 Dec 2020 16:09:32 +0000 (17 16:09 +0000)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Thu, 17 Dec 2020 16:09:33 +0000 (17 16:09 +0000)
tree184f106fb3bf669be5bed6767430a8c71dbebf5b
parent01178654121b1caadadd448d65d7fb4f806670d6
[amdgpu] Default to code object v3

[amdgpu] Default to code object v3
v4 is not yet readily available, and doesn't appear
to be implemented in the back end

Reviewed By: t-tye, yaxunl

Differential Revision: https://reviews.llvm.org/D93258
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/test/Driver/hip-code-object-version.hip
llvm/docs/AMDGPUUsage.rst