Issue 234108
Summary [flang][OpenMP] Error on missing implementation of DECLARE_SIMD
Labels flang
Assignees
Reporter mmuetzel
    Some projects that still built correctly with LLVM Flang 22 started to fail building with LLVM Flang 23 (see also https://github.com/llvm/llvm-project/pull/232367#issuecomment-6196755664 for an issue that appeared when attempting to build ElmerFEM).

The new errors look similar to this:
```
loc("D:/repo/elmerfem/fem/src/H1Basis.F90":504:7): error: not yet implemented: omp.declare_simd
loc("D:/repo/elmerfem/fem/src/H1Basis.F90":504:7): error: LLVM Translation failed for operation: omp.declare_simd
error: failed to create the LLVM module
```

It looks like with LLVM Flang 22, a code path for older versions of OpenMP was chosen when building ElmerFEM (for reasons not entirely clear).

Ignoring `DECLARE SIMD` is a standard conforming "implementation".

That change was already implemented by @kparzysz in #232712 on the default branch.
Please backport that change to LLVM Flang 23 to fix that regression from LLVM Flang 22.

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to