[llvm] [VPlan] Allow VPWidenPHI in non-native path and copy DebugLoc (PR #118662)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 12:05:03 PST 2024


================
@@ -2285,10 +2285,16 @@ class VPWidenPHIRecipe : public VPSingleDefRecipe {
   /// List of incoming blocks. Only used in the VPlan native path.
   SmallVector<VPBasicBlock *, 2> IncomingBlocks;
 
+  /// Name to use for the generated IR instruction for the widened IV.
+  std::string Name;
----------------
lukel97 wrote:

std::string seems to be what everything else in VPlan.h uses, and it doesn't look like Twine can be stored

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


More information about the llvm-commits mailing list