[clang] [CIR][HIP] Compile host code (PR #177698)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 26 11:53:23 PST 2026


================
@@ -242,6 +242,10 @@ const TargetCIRGenInfo &CIRGenModule::getTargetCIRGenInfo() {
       return *theTargetCIRGenInfo;
     }
   }
+  case llvm::Triple::amdgcn: {
+    theTargetCIRGenInfo = createAMDGPUTargetCIRGenInfo(genTypes);
----------------
andykaylor wrote:

I don't think we should get here for host compilation if the triple is correctly specified in the test.

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


More information about the cfe-commits mailing list