[llvm] [VPlan] Don't fold live ins with both scalar and vector operands (PR #154067)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 05:42:49 PDT 2025


================
@@ -976,14 +976,9 @@ static Value *tryToFoldLiveIns(const VPRecipeBase &R, unsigned Opcode,
                           RFlags.getGEPNoWrapFlags());
   }
   case VPInstruction::PtrAdd:
-  case VPInstruction::WidePtrAdd:
----------------
fhahn wrote:

At the moment yes, but that may change n the future. If  it is a live-in, the value must be a scalar.

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


More information about the llvm-commits mailing list