[llvm] [AMDGPU] Add no return image_sample intrinsics and instructions (PR #97542)
Carl Ritson via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 3 02:19:28 PDT 2024
================
@@ -780,6 +780,20 @@ class AMDGPUDimSampleProfile<string opmod,
let LodClampMip = sample.LodOrClamp;
}
+class AMDGPUDimSampleNoReturnProfile<string opmod,
+ AMDGPUDimProps dim,
+ AMDGPUSampleVariant sample> : AMDGPUDimProfile<opmod, dim> {
+ let IsSample = true;
+ let RetTypes = [];
+ let DataArgs = [];
+ let ExtraAddrArgs = sample.ExtraAddrArgs;
+ let Offset = sample.Offset;
+ let Bias = sample.Bias;
+ let ZCompare = sample.ZCompare;
+ let Gradients = sample.Gradients;
+ let LodClampMip = sample.LodOrClamp;
----------------
perlfu wrote:
True, I'll merge this with the normal Profile.
https://github.com/llvm/llvm-project/pull/97542
More information about the llvm-commits
mailing list