The old ATI/AMD Radeon R600 back-end within the LLVM compiler codebase will likely be removed given it's become a legacy burden and doesn't have any current use by the modern Mesa driver stack. The AMD R600 LLVM back-end provides code generation support for older Radeon HD 2000 through Radeon HD 6000 series graphics processors. This back-end was originally used for Mes with the R600 Gallium3D driver and also an important role for their Clover OpenCL support at the time. But as the R600g driver in Mesa doesn't use the R600 LLVM back-end in more recent years since going the NIR route and Clover was dropped from mainline Mesa in favor of the modern Rusticl Rust-based OpenCL implementation, those original uses for this R600 LLVM back-end no longer exist. With no one maintaining the code and the R600 back-end being a maintenance burden when it comes to adapting the more modern AMDGPU back-end for newer Radeon GPUs, it's time to bid farewell to this legacy code. Harrison Hao of AMD's Shanghai compiler team issued a request for comments (RFC) on Sunday for deprecating and removing the R600 back-end. "The remaining R600 implementation adds legacy code and conditions that must be considered when changing the modern AMDGPU backend. Its lit tests also require continued maintenance and review even though the backend has no known users. Removing the R600 code and tests would simplify the AMDGPU backend and reduce its maintenance cost." The RFC is only for the R600/TeraScale era hardware and doesn't impact GCN and newer with the AMDGPU back-end. So far no concerns have been raised over its removal.
LLVM's Old AMD R600 Compiler Backend Slated For Removal
Full Article
Original Source
Read the full article at Phoronix →KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.