[llvm] [VPlan] Extract reverse operation for reverse accesses (PR #146525)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 30 03:31:49 PDT 2025
================
@@ -1520,11 +1526,10 @@ RISCVTTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
}
if (ST->hasVInstructions() && RetTy->isVectorTy()) {
- if (auto LT = getTypeLegalizationCost(RetTy);
- LT.second.isVector()) {
+ if (auto LT = getTypeLegalizationCost(RetTy); LT.second.isVector()) {
MVT EltTy = LT.second.getVectorElementType();
- if (const auto *Entry = CostTableLookup(VectorIntrinsicCostTable,
- ICA.getID(), EltTy))
+ if (const auto *Entry =
+ CostTableLookup(VectorIntrinsicCostTable, ICA.getID(), EltTy))
----------------
Mel-Chen wrote:
Restored, thanks.
https://github.com/llvm/llvm-project/pull/146525
More information about the llvm-commits
mailing list