diff options
| author | Kajetan Puchalski <kajetan.puchalski@arm.com> | 2025-08-01 17:40:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-01 17:40:18 +0100 |
| commit | 7c2f109811181a227ffd784c046ed8d475173f8f (patch) | |
| tree | 221a3cd2f9f8f2847dfdf199f006ce06cb20313d /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
| parent | 3d098f78bfa82bfae5242402d4b8201b1ec38d06 (diff) | |
[flang][OpenMP] Check for OpenMP 5.0+ for the if clause on "do simd" (#151154)
The "if" clause on "do simd" is only supported from OpenMP version 5.0.
Currently the tablegen for OMP_DoSimd does not restrict it, leading to
an ICE if the clause is used with an older OpenMP version as opposed to
a semantic error. Restrict the version to show the correct semantic
error.
Add flang tests for using the if clause with -fopenmp-version=45
and -fopenmp-version=50 to check for these types of errors.
---------
Signed-off-by: Kajetan Puchalski <kajetan.puchalski@arm.com>
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions
