[clang] [lld] [llvm] [WIP][IR][Constants] Change the semantic of `ConstantPointerNull` to represent an actual `nullptr` instead of a zero-value pointer (PR #166667)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 16 23:10:02 PST 2025
================
@@ -25493,8 +25493,8 @@ class HorizontalReduction {
dbgs() << "> of " << VectorizedValue << ". (HorRdx)\n");
if (NeedShuffle)
VectorizedValue = Builder.CreateShuffleVector(
- VectorizedValue,
- ConstantVector::getNullValue(VectorizedValue->getType()), Mask);
+ VectorizedValue, Constant::getNullValue(VectorizedValue->getType()),
----------------
arichardson wrote:
Should this be getZeroValue?
https://github.com/llvm/llvm-project/pull/166667
More information about the llvm-commits
mailing list