[llvm] [RFC][IR] Support vector splats in `ConstantPointerNull` (PR #195486)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Sat May 2 20:30:17 PDT 2026


================
@@ -48,6 +48,22 @@ static cl::opt<bool> UseConstantIntForScalableSplat(
 static cl::opt<bool> UseConstantFPForScalableSplat(
     "use-constant-fp-for-scalable-splat", cl::init(true), cl::Hidden,
     cl::desc("Use ConstantFP's native scalable vector splat support."));
+static cl::opt<bool> UseConstantPtrNullForFixedLengthSplat(
----------------
arichardson wrote:

Are these options used anywhere? Is this for downstream migration purposes? If so there should be a comment, and if not maybe best to not add any not options that aren't strictly needed. 

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


More information about the llvm-commits mailing list