[llvm] [VPlan] Be more careful with CSE in replicate regions. (PR #162110)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 7 04:58:55 PDT 2025


================

----------------
fhahn wrote:

I don't think that's going to work, as we need to return a proper opcode from `getOpcodeOrIntrinsicID`. Currently we return `std::nullopt` for VPVectorPointerRecipe, which works for now because there is only a single recipe we return that for, but needs to be fixed to support more recipes that don't map directly to llvm::Instruction opcodes: https://github.com/llvm/llvm-project/pull/162267

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


More information about the llvm-commits mailing list