[llvm] [LV] Fold isPredicatedInst into isMaskRequired (PR #134261)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon May 12 11:33:35 PDT 2025
================
@@ -3057,59 +3052,6 @@ bool LoopVectorizationCostModel::isScalarWithPredication(
}
}
-// TODO: Fold into LoopVectorizationLegality::isMaskRequired.
-bool LoopVectorizationCostModel::isPredicatedInst(Instruction *I) const {
----------------
fhahn wrote:
Could the diff be reduced by defining `LoopVectorizationLegality::isMaskRequired` here? That would make it easier to see what changed
https://github.com/llvm/llvm-project/pull/134261
More information about the llvm-commits
mailing list