[llvm] [VPlan] Set debug location for VPReduction/VPWidenPHI/VPWidenIntrinsicRecipe. (PR #120054)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 03:36:42 PST 2024


https://github.com/Mel-Chen commented:

This reminds me of my unfinished patch: https://github.com/llvm/llvm-project/pull/113887
@fhahn Does VPSingleDefRecipe also need a constructor similar to VPRecipeWithIRFlags?
```
  template <typename IterT>
  VPRecipeWithIRFlags(const unsigned char SC, IterT Operands, Instruction &I)
      : VPSingleDefRecipe(SC, Operands, &I, I.getDebugLoc()) {
```

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


More information about the llvm-commits mailing list