[clang] [llvm] [AMDGPU][WIP] Extend permlane16, permlanex16 and permlane64 intrinsic lowering for generic types (PR #92725)

Vikram Hegde via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 05:10:40 PDT 2024


================
@@ -18479,6 +18479,28 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned BuiltinID,
         CGM.getIntrinsic(Intrinsic::amdgcn_update_dpp, Args[0]->getType());
     return Builder.CreateCall(F, Args);
   }
+  case AMDGPU::BI__builtin_amdgcn_permlane16:
+  case AMDGPU::BI__builtin_amdgcn_permlanex16: {
+    llvm::Value *Src0 = EmitScalarExpr(E->getArg(0));
----------------
vikramRH wrote:

added a new helper

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


More information about the llvm-commits mailing list