-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for amdgcn target #135024
Copy link
Copy link
Open
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCO-amdgcnTarget: the Radeon 9001XT and suchTarget: the Radeon 9001XT and suchT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCO-amdgcnTarget: the Radeon 9001XT and suchTarget: the Radeon 9001XT and suchT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This issue tracks the implementation of the amdgpu target.
Old, closed tracking issue: #51575
Current work-in-progress branch: https://github.com/Flakebi/rust/tree/amdgpu
Examples and support libraries: https://github.com/Flakebi/amdgpu-rs
Implementation
f128incompiler-builtins: Disable f128 for amdgpu compiler-builtins#737allocas to default address space: Cast allocas to default address space #135025cccrate (once target is in nightly) (not necessary anymore)coreandallocgpu-kernelcalling convention: Add gpu-kernel calling convention #135047no_mangleorexport_nameforgpu-kernelfunctions: Add checks for gpu-kernel calling conv #149991<kernel>.kdkernel descriptor symbol: Export kernel descriptor for amdgpu kernels #135909-C target-cpu=: Target option to require explicit cpu #135030gpu-kernelcalling convention lowering toamdgpu_kerneland the global variable addrspacecasts: Add amdgpu test for addrspacecasting global vars and the gpu-kernel calling convention #146148Bugs
AMDGPUResourceUsageAnalysis. This is fixed in llvmmain, so will be fixed with the update to LLVM 20gpu-kernelfunctions does not work correctly and should be forbidden: Add checks for gpu-kernel calling conv #149991-Clink-arg=--no-gc-sectionswhen using linker-plugin-lto: AMDGPUTargetStreamer generates .kd symbols, breaking LTO requirement, may be discarded by --gc-sections llvm/llvm-project#119479main, so will be fixed with the next LLVM update: MergeFunctions LLVM pass can generate invalid function calls under calling convention #57356 [MergeFunc] Do not merge kernel functions llvm/llvm-project#174254