[PATCH] D123929: [AMDGPU][MC] Corrected error message "image data size does not match dmask and tfe"

Dmitry Preobrazhensky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 05:17:22 PDT 2022


dp added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp:1605
 
 bool hasPackedD16(const MCSubtargetInfo &STI) {
+  return !STI.getFeatureBits()[AMDGPU::FeatureUnpackedD16VMem] && !isCI(STI) &&
----------------
The name of the function was misleading because the function returned true for GFX6 and GFX7.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123929/new/

https://reviews.llvm.org/D123929



More information about the llvm-commits mailing list