[llvm] [AMDGPU] SIPeepholeSDWA: Disable on existing SDWA instructions (PR #123942)
Frederik Harwath via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 04:04:56 PST 2025
================
@@ -0,0 +1,85 @@
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1030 -o - < %s | FileCheck -check-prefix=CHECK %s
+
+; CHECK-NOT: v_lshlrev_b32_sdwa v{{[0-9]}}, v{{[0-9]}}, v{{[0-9]}} dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1
----------------
frederik-h wrote:
> A comment explaining what the test is doing would be more useful
Right. I have now simplified the test a bit more using the changed llvm-reduce invocation that I mentioned above and added a comment.
https://github.com/llvm/llvm-project/pull/123942
More information about the llvm-commits
mailing list