diff options
author | Sergio Afonso <safonsof@amd.com> | 2024-07-10 10:49:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-10 10:49:57 +0100 |
commit | d5e4e702aa6ba7553ea9f28e4c62ec976876c989 (patch) | |
tree | ba1b73f4e6e7f2ebbdc536a501665d3802411155 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0a95f2f7fe3a01fb94720dbb43679ef197b65f6a (diff) | |
download | llvm-d5e4e702aa6ba7553ea9f28e4c62ec976876c989.zip llvm-d5e4e702aa6ba7553ea9f28e4c62ec976876c989.tar.gz llvm-d5e4e702aa6ba7553ea9f28e4c62ec976876c989.tar.bz2 |
[MLIR][OpenMP] Add TableGen pseudo-generator for OpenMP-specific verification (#95552)
The introduction of the clause-based approach to defining OpenMP
operations can make it more difficult to detect and address certain
programming errors derived from this change. Specifically, it's possible
for an operation to inadvertently override otherwise
automatically-populated properties and result in unexpected and
difficult to debug errors or incomplete operation definitions.
This patch introduces a TableGen backend that doesn't produce any
output, but rather only checks for these potential oversights in the
definition of OpenMP dialect operations and flags them as warnings or
errors. This provides descriptive and early feedback before any code is
attempted to be generated for these problematic definitions.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions