================
@@ -1577,6 +1577,11 @@ RISCVTTIImpl::getIntrinsicInstrCost(const
IntrinsicCostAttributes &ICA,
case Intrinsic::abs: {
auto LT = getTypeLegalizationCost(RetTy);
if (ST->hasVInstructions() && LT.second.isVector()) {
+ // vabs.v v10, v8
+ if (ST->hasStdExtZvabd())
----------------
topperc wrote:
oh nevermind, only vabsd has the element size restriction.
https://github.com/llvm/llvm-project/pull/180146
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits