diff options
author | Alex MacLean <amaclean@nvidia.com> | 2024-09-28 14:13:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-28 14:13:17 -0700 |
commit | e7621f4199877b866977829c73a9edefe5e0cbab (patch) | |
tree | c79ba39190d06d4f5432cacdd0db7b46c75a5200 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | e9c0c6604e47a7cda323544217c056f7f5aec888 (diff) | |
download | llvm-e7621f4199877b866977829c73a9edefe5e0cbab.zip llvm-e7621f4199877b866977829c73a9edefe5e0cbab.tar.gz llvm-e7621f4199877b866977829c73a9edefe5e0cbab.tar.bz2 |
Reland "[NVVM] Upgrade nvvm.ptr.* intrinics to addrspace cast" (#110262)
Remove the following intrinsics which can be trivially replaced with an
`addrspacecast`
* llvm.nvvm.ptr.gen.to.global
* llvm.nvvm.ptr.gen.to.shared
* llvm.nvvm.ptr.gen.to.constant
* llvm.nvvm.ptr.gen.to.local
* llvm.nvvm.ptr.global.to.gen
* llvm.nvvm.ptr.shared.to.gen
* llvm.nvvm.ptr.constant.to.gen
* llvm.nvvm.ptr.local.to.gen
Also, cleanup the NVPTX lowering of `addrspacecast` making it more
concise.
This was reverted to avoid conflicts while reverting #107655. Re-landing
unchanged.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions