[all-commits] [llvm/llvm-project] f7629f: [InferAddressSpaces] Extend undef pointer operand ...
Wenju He via All-commits
all-commits at lists.llvm.org
Thu Sep 18 18:14:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7629f5945f6720bac9cdfebcf9c05144afb9028
https://github.com/llvm/llvm-project/commit/f7629f5945f6720bac9cdfebcf9c05144afb9028
Author: Wenju He <wenju.he at intel.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
A llvm/test/Transforms/InferAddressSpaces/AMDGPU/phi-poison.ll
Log Message:
-----------
[InferAddressSpaces] Extend undef pointer operand support to phi inst (#159548)
Previously undef pointer operand is only supported for select inst,
where undef in generic AS behaves like `take the other side`.
This PR extends the support to other instructions, e.g. phi inst. Defer
joining and inferring constant pointer operand until all other operand
AS states considered.
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
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