[PATCH] D146762: [Verifier] Ban GEP, load, store of addrspace(8) on AMDGPU
Krzysztof Drewniak via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 31 08:44:09 PDT 2023
krzysz00 added a comment.
This is my proposed stopgap measure to stop people from tripping over the target -specitic rule we'd need that you can't take offsets of buffer resources except through the arguments to our intrinsics.
Doing this in a less hacky way is probably equivalent to @nhaehnle 's proposal for structured GEP, where we'd gain a data layout flag for "these pointers have inherently complex addressing modes, you can't GEP them correctly".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146762/new/
https://reviews.llvm.org/D146762
More information about the llvm-commits
mailing list