================ @@ -55,7 +55,7 @@ @nullptr12 = global ptr addrspace(12) addrspacecast (ptr null to ptr addrspace(12)) ; CHECK-LABEL: nullptr13: -; R600-NEXT: .long 0 +; CHECK-NEXT: .long -1 ---------------- rovka wrote:
Um, are you sure it's ok to change the value of nullptr for the CONSTANT_BUFFER_5 address space? Maybe this is another argument to use a different number (I mean besides the fact that maybe one day graphics will want to use VGPR memory too for whatever usecase). https://github.com/llvm/llvm-project/pull/205435 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
