[llvm] AMDGPU: VIMAGE/VSAMPLE are bundle candidates (PR #140854)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 20 23:45:23 PDT 2025


https://github.com/ruiling created https://github.com/llvm/llvm-project/pull/140854

None

>From 95388de453149081c686ceeaccb762e08cb14aec Mon Sep 17 00:00:00 2001
From: Ruiling Song <ruiling.song at amd.com>
Date: Wed, 21 May 2025 14:38:06 +0800
Subject: [PATCH] AMDGPU: VIMAGE/VSAMPLE are bundle candidates

---
 llvm/lib/Target/AMDGPU/SIPostRABundler.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/lib/Target/AMDGPU/SIPostRABundler.cpp b/llvm/lib/Target/AMDGPU/SIPostRABundler.cpp
index 87ff4b4d36940..efdc55b8e68be 100644
--- a/llvm/lib/Target/AMDGPU/SIPostRABundler.cpp
+++ b/llvm/lib/Target/AMDGPU/SIPostRABundler.cpp
@@ -64,7 +64,8 @@ class SIPostRABundler {
 
 constexpr uint64_t MemFlags = SIInstrFlags::MTBUF | SIInstrFlags::MUBUF |
                               SIInstrFlags::SMRD | SIInstrFlags::DS |
-                              SIInstrFlags::FLAT | SIInstrFlags::MIMG;
+                              SIInstrFlags::FLAT | SIInstrFlags::MIMG |
+                              SIInstrFlags::VIMAGE | SIInstrFlags::VSAMPLE;
 
 } // End anonymous namespace.
 



More information about the llvm-commits mailing list