================ @@ -742,6 +744,23 @@ GCNTTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA, break; case Intrinsic::copysign: return NElts * getFullRateInstrCost(); + case Intrinsic::minimumnum: + case Intrinsic::maximumnum: { + // Instruction + 2 canonicalizes. For cases that need type promotion, we the + // promotion takes the place of the canonicalize. ---------------- Pierre-vh wrote:
```suggestion // Instruction + 2 canonicalizes. For cases that need type promotion, the // promotion takes the place of the canonicalize. ``` https://github.com/llvm/llvm-project/pull/141946 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits