[PATCH] D93258: [amdgpu] Default to code object v3

Jon Chesterfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 14 16:15:25 PST 2020


JonChesterfield created this revision.
JonChesterfield added a reviewer: t-tye.
Herald added subscribers: tpr, dstuttard, yaxunl, kzhuravl.
JonChesterfield requested review of this revision.
Herald added subscribers: cfe-commits, wdng.
Herald added a project: clang.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93258

Files:
  clang/lib/Driver/ToolChains/CommonArgs.cpp


Index: clang/lib/Driver/ToolChains/CommonArgs.cpp
===================================================================
--- clang/lib/Driver/ToolChains/CommonArgs.cpp
+++ clang/lib/Driver/ToolChains/CommonArgs.cpp
@@ -1549,7 +1549,7 @@
     const Driver &D, const llvm::opt::ArgList &Args, bool Diagnose) {
   const unsigned MinCodeObjVer = 2;
   const unsigned MaxCodeObjVer = 4;
-  unsigned CodeObjVer = 4;
+  unsigned CodeObjVer = 3;
 
   // Emit warnings for legacy options even if they are overridden.
   if (Diagnose) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93258.311739.patch
Type: text/x-patch
Size: 524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201215/e76c96e7/attachment.bin>


More information about the cfe-commits mailing list