Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ struct ConvertToNVVMPass final
return static_cast<unsigned>(NVVM::NVVMMemorySpace::Shared);
case gpu::AddressSpace::Private:
return 0;
case gpu::AddressSpace::Constant:
return static_cast<unsigned>(NVVM::NVVMMemorySpace::Constant);
}
llvm_unreachable("unknown address space enum value");
return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ struct ConvertToROCDLPass final
return 3;
case gpu::AddressSpace::Private:
return 5;
case gpu::AddressSpace::Constant:
return 4;
}
llvm_unreachable("unknown address space enum value");
return 0;
Expand Down
2 changes: 1 addition & 1 deletion third_party/llvm-project
Submodule llvm-project updated 715 files
Loading