[llvm] [InferAddressSpaces] Extend undef pointer operand support to phi inst (PR #159548)
Wenju He via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 18 03:48:47 PDT 2025
================
@@ -0,0 +1,36 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -S -passes=infer-address-spaces %s | FileCheck %s
+
+define void @phi_undef(ptr addrspace(1) %arg, <2 x ptr addrspace(1)> %arg1) {
----------------
wenju-he wrote:
> Can you also test poison
done
https://github.com/llvm/llvm-project/pull/159548
More information about the llvm-commits
mailing list