[llvm] RFC: [AMDGPU] Check subtarget features for consistency (PR #86957)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 09:34:02 PDT 2024


jayfoad wrote:

> > TODO: `CodeGen/AMDGPU/unknown-processor.ll` fails because it doesn't set any subtarget features. I don't know how this should be handled. Do we really need to support `-mcpu=unknown`???
> 
> We need to support the none case for library builds, but I've been debating rejecting codegenning it. It's a nonstop source of bug reports where the default of "almost Tahiti" fails to select flat pointer load/store

Any suggestions what to do about this for now, so that I can land this patch without breaking it?

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


More information about the llvm-commits mailing list