tra added a comment. In D89980#2371580 <https://reviews.llvm.org/D89980#2371580>, @hliao wrote:
> is that reported in bugs.llvm.org? It was exposed in our internal code, but the situation is almost identical to your IR example. https://godbolt.org/z/EPPn6h For NVPTX we lower byval arguments as alloca because we must guarantee that params are never accessed via generic AS pointer. Ideally we would want to avoid copying the argument into the local space and access the arg via parameter AS when we can. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D89980/new/ https://reviews.llvm.org/D89980 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits