[Openmp-commits] [PATCH] D110556: [openmp] Add addrspacecast to getOrCreateIdent
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Sep 27 08:41:25 PDT 2021
JonChesterfield added a comment.
The variable is in the right address space when it is returned by new GlobalVariable. I assume that's derived from the datalayout but haven't checked that. The only reason this showed up is the variable in AS1 being passed to a function that didn't specify any address space, which hits the assert in Instruction.cpp.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110556/new/
https://reviews.llvm.org/D110556
More information about the Openmp-commits
mailing list