llvm-project
f8467698 - [RFC][IR] Support vector splats in `ConstantPointerNull` (#195486)

Commit
7 days ago
[RFC][IR] Support vector splats in `ConstantPointerNull` (#195486) This PR allows `ConstantPointerNull` to represent both scalar pointer nulls and fixed or scalable vector splats of pointer nulls. This change first aligns with the native splat behavior of `ConstantInt` and `ConstantFP`, and second, makes it easier to eventually change the semantics of `ConstantPointerNull` to represent a semantic null pointer instead of a zero value, which is what it represents today.
Author
Parents
Loading