5 Commits

Author SHA1 Message Date
Chia
d180cfb37d
[Clang][OpenMP] fixed crash due to invalid binary expression in checking atomic semantics (#71480)
This PR fixes https://github.com/llvm/llvm-project/issues/69069 .
2023-11-07 10:41:50 -05:00
Yueh-Ting (eop) Chen
77b7b1ad42
[Clang][RISCV] Use Decl for checkRVVTypeSupport (#65778)
Using ValueDecl will cause error for OpenMP. Decl should do the work.
2023-09-11 14:19:34 +08:00
Fangrui Song
02e9441d6c [test] Replace -triple aarch64-arm-none-eabi with -triple aarch64
Using "eabi" for aarch64 targets is a common mistake and warned by driver
(D153430). We want to avoid them for -cc1 tests as well.
2023-06-27 19:21:41 -07:00
Paul Walker
2bb7e00b09 [Clang][Sema] Fix invalid cast when validating SVE types within CheckVariableDeclarationType.
Fixes #62087

Differential Revision: https://reviews.llvm.org/D148919
2023-04-24 12:45:19 +00:00
Michael Halkenhaeuser
55916de2d3 [clang][HIP][OpenMP] Add warning if mixed HIP / OpenMP offloading
Adds a warning, issued by the clang semantic analysis, if HIP and OpenMP target offloading is requested concurrently.
That is, if HIP language mode is active but OpenMP target directives are encountered.
Previously, a user might not have been aware that target directives are ignored in such a case.

Generation of this warning is (lit-)tested via "make check-clang-semaopenmp".
The warning can be ignored via "-Wno-hip-omp-target-directives".

Differential Revision: https://reviews.llvm.org/D145591
2023-03-29 11:31:17 +02:00