[clang] [llvm] [AMDGPU][WIP] Extend permlane16, permlanex16 and permlane64 intrinsic lowering for generic types (PR #92725)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Wed May 29 08:02:57 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));
----------------
arsenm wrote:
If there's really not a helper to just EmitScalarExpr for N arguments, there should be one used here
https://github.com/llvm/llvm-project/pull/92725
More information about the cfe-commits
mailing list