[all-commits] [llvm/llvm-project] 92c3af: [VPlan] Use correct constructor when cloning VPWid...

Luke Lau via All-commits all-commits at lists.llvm.org
Sun Apr 27 19:09:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92c3af7c3e3163254cdd84b135ce87de9886be94
      https://github.com/llvm/llvm-project/commit/92c3af7c3e3163254cdd84b135ce87de9886be94
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-04-28 (Mon, 28 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h

  Log Message:
  -----------
  [VPlan] Use correct constructor when cloning VPWidenIntrinsicRecipe without underlying CallInst (#137493)

I noticed this when working on a patch downstream, and I don't think
this is an issue upstream yet.

But if a VPWidenIntrinsicRecipe is created without an underlying
CallInst, e.g. in createEVLRecipe, it will crash if you try to clone it
because it assumes the CallInst always exists.

This fixes it by using the CallInst-less constructor in this case.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list