[llvm] [AMDGPU] Add no return image_sample intrinsics and instructions (PR #97542)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 19 02:50:29 PDT 2024
================
@@ -970,6 +984,21 @@ defset list<AMDGPUImageDimIntrinsic> AMDGPUImageDimIntrinsics = {
AMDGPUImageDMaskIntrinsic;
}
+ multiclass AMDGPUImageDimSampleNoReturnDims<string opmod,
+ AMDGPUSampleVariant sample> {
+ foreach dim = AMDGPUDims.NoMsaa in {
+ def !strconcat(NAME, "_", dim.Name) : AMDGPUImageDimIntrinsic<
----------------
arsenm wrote:
You could rely on callsite attributes but that's a big hassle
https://github.com/llvm/llvm-project/pull/97542
More information about the llvm-commits
mailing list