[clang] [AMDGPU] Do not emit arch dependent macros with unspecified cpu (PR #80035)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 11:45:29 PST 2024


jhuber6 wrote:

> i.e. it helped with Clang :: Preprocessor/predefined-arch-macros.c but not with:
> 
> Failed Tests (2): Clang :: Driver/amdgpu-macros.cl Clang :: Driver/target-id-macros.cl

Pushed a fix, `check-clang` passes on my machine now. Let me know if it's still broken.

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


More information about the cfe-commits mailing list