[llvm] [AMDGPU] Do not combine V_ASHRREV_I16* to make sdwa (PR #198491)

Frederik Harwath via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 23:14:07 PDT 2026


================
@@ -467,4 +467,26 @@ body:             |
     %7:vgpr_32 = nnan nofpexcept V_ADD_F32_e32 %5, %6, implicit $mode, implicit $exec
     S_ENDPGM 0, implicit %7
 
+# GCN-LABEL: name: negative_v_ashrrev_i16
+# GCN-NOT: V_XOR_B32_sdwa
+---
----------------
frederik-h wrote:

This makes sense to me, I think it should be changed.

https://github.com/llvm/llvm-project/pull/198491


More information about the llvm-commits mailing list