https://github.com/jhuber6 commented: If all this does is call the `amdgpu` builtins, is it possible to just include that one? I think the only thing that differs is the address spaces so we could probably just undef those. https://github.com/llvm/llvm-project/pull/131164