[llvm] [VPlan] Implement interleaving as VPlan-to-VPlan transform. (PR #95842)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 15:24:32 PDT 2024
================
@@ -603,6 +602,13 @@ bool VPInstruction::isVectorToScalar() const {
getOpcode() == VPInstruction::ComputeReductionResult;
}
+unsigned VPInstruction::getInterleaveCount() const {
+ return getNumOperands() == 1
----------------
ayalz wrote:
Thanks!
https://github.com/llvm/llvm-project/pull/95842
More information about the llvm-commits
mailing list