[llvm] [VPlan] Add transformation to narrow interleave groups. (PR #106441)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 11:25:21 PDT 2024


================
@@ -48,6 +48,9 @@ extern cl::opt<unsigned> ForceTargetInstructionCost;
 
 bool VPRecipeBase::mayWriteToMemory() const {
   switch (getVPDefID()) {
+  case VPInstructionSC: {
+    return !Instruction::isBinaryOp(cast<VPInstruction>(this)->getOpcode());
+  }
----------------
fhahn wrote:

Yep, unified the logic separately (68ed1728bf45162187a2b54eed226097b8fc0a12) and remove the change here

https://github.com/llvm/llvm-project/pull/106441


More information about the llvm-commits mailing list