[PATCH] D81938: [InferAddressSpaces] Handle the pair of `ptrtoint`/`inttoptr`.

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 08:04:22 PDT 2020


hliao marked an inline comment as done.
hliao added inline comments.


================
Comment at: clang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu:62-64
+// OPT-NOT: alloca
+// OPT-NOT: ptrtoint
+// OPT-NOT: inttoptr
----------------
arsenm wrote:
> Positive checks are preferable (here and through the rest of the file)
here, we need to ensure, after optimization, these values are promoted from memory


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81938/new/

https://reviews.llvm.org/D81938





More information about the llvm-commits mailing list