[llvm] [VPlan] Add new VPPhi subclass for VPInstruction with PHI opcodes. (PR #139151)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Fri May 9 07:34:36 PDT 2025


================
@@ -1142,6 +1142,28 @@ class VPPhiAccessors {
 #endif
 };
 
+struct VPPhi : public VPInstruction, public VPPhiAccessors {
+  VPPhi(unsigned Opcode, ArrayRef<VPValue *> Operands, DebugLoc DL,
----------------
alexey-bataev wrote:

Can it have any opcode other than PHI?

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


More information about the llvm-commits mailing list