[llvm] 6b316ec - [AMDGPU] Encode NV bit in VIMAGE/VSAMPLE. NFC (#153654)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 13:19:41 PDT 2025


Author: Stanislav Mekhanoshin
Date: 2025-08-14T13:19:38-07:00
New Revision: 6b316ecb5f843926bbd62b18fd8e0c5cf1cee622

URL: https://github.com/llvm/llvm-project/commit/6b316ecb5f843926bbd62b18fd8e0c5cf1cee622
DIFF: https://github.com/llvm/llvm-project/commit/6b316ecb5f843926bbd62b18fd8e0c5cf1cee622.diff

LOG: [AMDGPU] Encode NV bit in VIMAGE/VSAMPLE. NFC (#153654)

This is NFC as this target does not have it.

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/SIInstrFormats.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SIInstrFormats.td b/llvm/lib/Target/AMDGPU/SIInstrFormats.td
index 89d9b0d32b25b..50964a94d6e58 100644
--- a/llvm/lib/Target/AMDGPU/SIInstrFormats.td
+++ b/llvm/lib/Target/AMDGPU/SIInstrFormats.td
@@ -473,6 +473,7 @@ class VIMAGE_VSAMPLE_Common <bits<8> op> : Enc96 {
   let Inst{4} = r128;
   let Inst{5} = d16;
   let Inst{6} = a16;
+  let Inst{7} = cpol{5}; // nv
   let Inst{21-14} = op;
   let Inst{25-22} = dmask;
   let Inst{39-32} = vdata;


        


More information about the llvm-commits mailing list