[llvm] [AMDGPU] Add target features to guard DPP controls (PR #182391)

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 20 06:59:04 PST 2026


zGoldthorpe wrote:

> > AMDGPURemoveIncompatibleFunctions to remove functions that rely on these controls when compiling for newer GPUs.
> 
> Are you actually hitting this case

Yes, there are AMD device library functions that use these DPP controls if available, but make the selection through `if` statements on the ISA version, causing crashes if compiled with `-O0`.

https://github.com/llvm/llvm-project/pull/182391


More information about the llvm-commits mailing list