================
@@ -4087,6 +4087,11 @@ static SDValue simplifyMul24(SDNode *Node24,
 
   APInt Demanded = APInt::getLowBitsSet(LHS.getValueSizeInBits(), 24);
 
+  // The 24 bit multiplies only read bits [23:0] of each source.
+  if (DAG.MaskedValueIsZero(LHS, Demanded) ||
----------------
harrisonGPU wrote:

I agree your point, I will try to explore it.

https://github.com/llvm/llvm-project/pull/224537
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to