[llvm] [VPlan] Assign custom opcodes to recipes not mapping to IR opcodes. (PR #162267)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 8 10:22:54 PDT 2025


================
@@ -2005,12 +2012,9 @@ struct VPCSEDenseMapInfo : public DenseMapInfo<VPSingleDefRecipe *> {
   static bool canHandle(const VPSingleDefRecipe *Def) {
     // We can extend the list of handled recipes in the future,
     // provided we account for the data embedded in them while checking for
-    // equality or hashing. We assign VPVectorEndPointerRecipe the GEP opcode,
-    // as it is essentially a GEP with different semantics.
-    auto C = isa<VPVectorPointerRecipe>(Def)
-                 ? std::make_pair(false, Instruction::GetElementPtr)
-                 : getOpcodeOrIntrinsicID(Def);
+    // equality or hashing.
 
+    auto C = getOpcodeOrIntrinsicID(Def);
----------------
fhahn wrote:

Should be adjusted, thanks

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


More information about the llvm-commits mailing list