[llvm] [AMDGPU] SIPeepholeSDWA: Disable on existing SDWA instructions (PR #123942)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 02:49:19 PST 2025


================
@@ -963,7 +963,7 @@ bool isConvertibleToSDWA(MachineInstr &MI,
   // Check if this is already an SDWA instruction
   unsigned Opc = MI.getOpcode();
   if (TII->isSDWA(Opc))
-    return true;
+    return false;
----------------
arsenm wrote:

Add fixme to do this 

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


More information about the llvm-commits mailing list