[clang] [HIP] Make the new driver bundle outputs for device-only (PR #84534)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 13:17:23 PST 2024


================
@@ -4638,7 +4638,10 @@ Action *Driver::BuildOffloadingActions(Compilation &C,
     }
   }
 
-  if (offloadDeviceOnly())
+  // All kinds exit now in device-only mode except for non-RDC mode HIP.
----------------
yxsamliu wrote:

I am wondering whether we should restrict this change and below change to new driver, as the old driver should not need them.

https://github.com/llvm/llvm-project/pull/84534


More information about the cfe-commits mailing list