[all-commits] [llvm/llvm-project] 3e91b4: [NFC][AutoUpgrade] Use `ConstantPointerNull::get` ...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Wed May 14 17:22:55 PDT 2025
Branch: refs/heads/users/shiltian/use-constantpointernull-for-autoupgrade
Home: https://github.com/llvm/llvm-project
Commit: 3e91b4c0b1c715790797d9ca903f69be1123316c
https://github.com/llvm/llvm-project/commit/3e91b4c0b1c715790797d9ca903f69be1123316c
Author: Shilei Tian <i at tianshilei.me>
Date: 2025-05-14 (Wed, 14 May 2025)
Changed paths:
M llvm/lib/IR/AutoUpgrade.cpp
Log Message:
-----------
[NFC][AutoUpgrade] Use `ConstantPointerNull::get` instead of `Constant::getNullValue` for pointer types
This is a preparation change for upcoming PRs that will update the semantics of
`ConstantPointerNull`, making it to represent an actual `nullptr` rather than a
zero-valued pointer.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list