================
@@ -1974,6 +1974,10 @@ GCNTTIImpl::instCombineIntrinsic(InstCombiner &IC,
IntrinsicInst &II) const {
case Intrinsic::amdgcn_udot4:
case Intrinsic::amdgcn_sdot8:
case Intrinsic::amdgcn_udot8: {
+ if (match(II.getArgOperand(0), m_Zero()) ||
----------------
arsenm wrote:
If it doesn't work the canonicalize to RHS should be done separately
https://github.com/llvm/llvm-project/pull/225003
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits