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

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 10:18:47 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;
----------------
alexey-bataev wrote:

Maybe use SmallString or Twine?

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


More information about the llvm-commits mailing list