[llvm] [AMDGPU] Fix mul combine for MUL24 (PR #79110)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 04:24:26 PST 2024


================
@@ -4254,10 +4254,6 @@ SDValue AMDGPUTargetLowering::performMulCombine(SDNode *N,
     return DAG.getNode(ISD::ADD, DL, VT, MulVal, N0);
   }
 
-  // Skip if already mul24.
-  if (N->getOpcode() != ISD::MUL)
----------------
Pierre-vh wrote:

I don't think there is anything else it can do at first glance

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


More information about the llvm-commits mailing list