[flang-commits] [flang] [llvm] [MLIR][OpenMP] Add a new AutomapToTargetData conversion pass in FIR (PR #151989)

LLVM Continuous Integration via flang-commits flang-commits at lists.llvm.org
Mon Aug 11 06:02:42 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `flang-arm64-windows-msvc` running on `linaro-armv8-windows-msvc-01` while building `flang,offload` at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/207/builds/5100

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-unified-tree) failure: build (failure)
...
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\complex(1315,5): note: 'complex' has been explicitly marked deprecated here
 1315 |     _DEPRECATE_NONFLOATING_COMPLEX
      |     ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\yvals_core.h(1450,7): note: expanded from macro '_DEPRECATE_NONFLOATING_COMPLEX'
 1450 |     [[deprecated("warning STL4037: "                                                   \
      |       ^
3 warnings generated.
2224.012 [3152/10/4246] Linking CXX static library lib\MLIRBuiltinToLLVMIRTranslation.lib
2224.234 [3151/10/4247] Linking CXX static library lib\MLIRLLVMToLLVMIRTranslation.lib
2226.761 [3150/10/4248] Building CXX object tools\flang\lib\Support\CMakeFiles\FortranSupport.dir\OpenMP-utils.cpp.obj
FAILED: tools/flang/lib/Support/CMakeFiles/FortranSupport.dir/OpenMP-utils.cpp.obj 
C:\Users\tcwg\scoop\shims\ccache.exe C:\Users\tcwg\scoop\apps\llvm-arm64\current\bin\clang-cl.exe  /nologo -TP -DFLANG_INCLUDE_TESTS=1 -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\flang\lib\Support -IC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\lib\Support -IC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\include -IC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\flang\include -IC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\include -IC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\llvm\include -imsvcC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\..\mlir\include -imsvcC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\mlir\include -imsvcC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\clang\include -imsvcC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\llvm\..\clang\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported /Gw -Wno-deprecated-copy -Wno-string-conversion -Wno-ctad-maybe-unsupported /O2 /Ob2  -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes /Fotools\flang\lib\Support\CMakeFiles\FortranSupport.dir\OpenMP-utils.cpp.obj /Fdtools\flang\lib\Support\CMakeFiles\FortranSupport.dir\FortranSupport.pdb -c -- C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\lib\Support\OpenMP-utils.cpp
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\lib\Support\OpenMP-utils.cpp:10:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\include\flang/Optimizer/Builder/DirectivesCommon.h:25:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\include\flang/Optimizer/HLFIR/HLFIROps.h:17:
C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\include\flang/Optimizer/HLFIR/HLFIRDialect.h(28,10): fatal error: 'flang/Optimizer/HLFIR/HLFIRDialect.h.inc' file not found
   28 | #include "flang/Optimizer/HLFIR/HLFIRDialect.h.inc"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
2227.388 [3150/9/4249] Building CXX object tools\mlir\lib\Target\LLVMIR\CMakeFiles\obj.MLIRTargetLLVMIRImport.dir\TypeFromLLVM.cpp.obj
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\lib\Target\LLVMIR\TypeFromLLVM.cpp:10:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/Dialect/LLVMIR/LLVMTypes.h:18:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/Interfaces/DataLayoutInterfaces.h:20:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/IR/OpDefinition.h:22:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/IR/Dialect.h:17:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/IR/OperationSupport.h:19:
C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/IR/BuiltinAttributes.h(359,14): warning: 'complex' is deprecated: warning STL4037: The effect of instantiating the template std::complex for any type other than float, double, or long double is unspecified. You can define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to suppress this warning. [-Wdeprecated-declarations]
  359 |       return {APFloat(*smt, value.real()), APFloat(*smt, value.imag())};
      |              ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\complex(1315,5): note: 'complex' has been explicitly marked deprecated here
 1315 |     _DEPRECATE_NONFLOATING_COMPLEX
      |     ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\yvals_core.h(1450,7): note: expanded from macro '_DEPRECATE_NONFLOATING_COMPLEX'
 1450 |     [[deprecated("warning STL4037: "                                                   \
      |       ^
1 warning generated.
2229.123 [3150/8/4250] Building CXX object tools\mlir\lib\Target\LLVMIR\CMakeFiles\obj.MLIRTargetLLVMIRImport.dir\LoopAnnotationImporter.cpp.obj
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\lib\Target\LLVMIR\LoopAnnotationImporter.cpp:9:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\lib\Target\LLVMIR\LoopAnnotationImporter.h:17:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/Dialect/LLVMIR/LLVMDialect.h:17:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/Bytecode/BytecodeOpInterface.h:17:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/Bytecode/BytecodeImplementation.h:19:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/IR/Dialect.h:17:
In file included from C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/IR/OperationSupport.h:19:
C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\mlir\include\mlir/IR/BuiltinAttributes.h(359,14): warning: 'complex' is deprecated: warning STL4037: The effect of instantiating the template std::complex for any type other than float, double, or long double is unspecified. You can define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to suppress this warning. [-Wdeprecated-declarations]
  359 |       return {APFloat(*smt, value.real()), APFloat(*smt, value.imag())};
      |              ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\complex(1315,5): note: 'complex' has been explicitly marked deprecated here
 1315 |     _DEPRECATE_NONFLOATING_COMPLEX

```

</details>

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


More information about the flang-commits mailing list