[llvm] [AMDGPU][MC] Fix disassemble of image_gather4 with d16 (PR #114609)
Mirko BrkuĊĦanin via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 04:24:24 PST 2024
================
@@ -235,5 +235,5 @@
# VI: image_gather4 v[252:255], v1, s[8:15], s[12:15] dmask:0x3 ; encoding: [0x00,0x03,0x00,0xf1,0x01,0xfc,0x62,0x00]
0x00,0x03,0x00,0xf1,0x01,0xfc,0x62,0x00
-# VI: image_gather4 v[252:255], v1, s[8:15], s[12:15] dmask:0x1 unorm glc slc tfe lwe da ; encoding: [0x00,0x71,0x03,0xf3,0x01,0xfc,0x62,0x00]
+# VI: image_gather4 v[252:253], v1, s[8:15], s[12:15] dmask:0x1 unorm glc slc tfe lwe da ; encoding: [0x00,0x71,0x03,0xf3,0x01,0xfc,0x62,0x00]
----------------
mbrkusanin wrote:
Based on comment at line 231 it was probably testing that with tfe it will go out of range
https://github.com/llvm/llvm-project/pull/114609
More information about the llvm-commits
mailing list