[Mlir-commits] [flang] [mlir] [mlir][acc] Add OffloadTargetVerifier pass (PR #176467)

LLVM Continuous Integration llvmlistbot at llvm.org
Tue Jan 20 10:22:06 PST 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `amdgpu-offload-rhel-9-cmake-build-only` running on `rocm-docker-rhel-9` while building `flang,mlir` at step 4 "annotate".

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

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

```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/lib/Semantics/check-omp-atomic.cpp:827:24:   required from here
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<Fortran::evaluate::Expr<Fortran::evaluate::SomeType> >::Data’ from ‘std::initializer_list<Fortran::evaluate::Expr<Fortran::evaluate::SomeType> >::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
  112 |         : Data(Vec.begin() == Vec.end() ? (T *)nullptr : Vec.begin()),
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8357/8437] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/resolve-names.cpp.o
[8358/8437] Building CXX object tools/flang/lib/Optimizer/HLFIR/Transforms/CMakeFiles/HLFIRTransforms.dir/LowerHLFIRIntrinsics.cpp.o
[8359/8437] Building CXX object tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCTypeInterfaces.cpp.o
[8360/8437] Linking CXX shared library lib/libFIROpenACCSupport.so.23.0git
[8361/8437] Creating library symlink lib/libFIROpenACCSupport.so
[8362/8437] Linking CXX shared library lib/libFIROpenACCAnalysis.so.23.0git
FAILED: lib/libFIROpenACCAnalysis.so.23.0git 
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -fpch-preprocess -O3 -DNDEBUG -fno-semantic-interposition  -Wl,-z,defs -Wl,-z,nodelete   -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/./lib  -Wl,--gc-sections -shared -Wl,-soname,libFIROpenACCAnalysis.so.23.0git -o lib/libFIROpenACCAnalysis.so.23.0git tools/flang/lib/Optimizer/OpenACC/Analysis/CMakeFiles/FIROpenACCAnalysis.dir/FIROpenACCSupportAnalysis.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib:"  lib/libFIRAnalysis.so.23.0git  lib/libFIROpenACCSupport.so.23.0git  lib/libHLFIRDialect.so.23.0git  lib/libFIRDialect.so.23.0git  lib/libMLIROpenACCDialect.so.23.0git  lib/libMLIROpenACCMPCommon.so.23.0git  lib/libMLIRGPUDialect.so.23.0git  lib/libMLIRMemRefDialect.so.23.0git  lib/libMLIRArithUtils.so.23.0git  lib/libMLIRComplexDialect.so.23.0git  lib/libMLIRDialectUtils.so.23.0git  lib/libMLIRDLTIDialect.so.23.0git  lib/libMLIRMathDialect.so.23.0git  lib/libMLIRArithDialect.so.23.0git  lib/libMLIRInferIntRangeCommon.so.23.0git  lib/libMLIRShapedOpInterfaces.so.23.0git  lib/libMLIRCastInterfaces.so.23.0git  lib/libMLIRDialect.so.23.0git  lib/libMLIRLLVMDialect.so.23.0git  lib/libMLIRPtrMemorySpaceInterfaces.so.23.0git  lib/libMLIRMemorySlotInterfaces.so.23.0git  lib/libMLIRMemOpInterfaces.so.23.0git  lib/libMLIRUBDialect.so.23.0git  lib/libMLIRValueBoundsOpInterface.so.23.0git  lib/libMLIRDestinationStyleOpInterface.so.23.0git  lib/libMLIRAnalysis.so.23.0git  lib/libMLIRControlFlowInterfaces.so.23.0git  lib/libMLIRSideEffectInterfaces.so.23.0git  lib/libMLIRDataLayoutInterfaces.so.23.0git  lib/libMLIRInferTypeOpInterface.so.23.0git  lib/libMLIRInferStridedMetadataInterface.so.23.0git  lib/libMLIRInferIntRangeInterface.so.23.0git  lib/libMLIRViewLikeInterface.so.23.0git  lib/libMLIRLoopLikeInterface.so.23.0git  lib/libMLIRFunctionInterfaces.so.23.0git  lib/libMLIRCallInterfaces.so.23.0git  lib/libMLIRPresburger.so.23.0git  lib/libMLIRIR.so.23.0git  lib/libMLIRSupport.so.23.0git  lib/libLLVMCore.so.23.0git  lib/libLLVMBinaryFormat.so.23.0git  lib/libLLVMSupport.so.23.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib && :
/usr/bin/ld: tools/flang/lib/Optimizer/OpenACC/Analysis/CMakeFiles/FIROpenACCAnalysis.dir/FIROpenACCSupportAnalysis.cpp.o: in function `fir::acc::FIROpenACCSupportAnalysis::isValidValueUse(mlir::Value, mlir::Region&)':
FIROpenACCSupportAnalysis.cpp:(.text._ZN3fir3acc25FIROpenACCSupportAnalysis15isValidValueUseEN4mlir5ValueERNS2_6RegionE+0xb): undefined reference to `mlir::acc::isValidValueUse(mlir::Value, mlir::Region&)'
collect2: error: ld returned 1 exit status
[8363/8437] Linking CXX shared library lib/libFIRTestOpenACCInterfaces.so.23.0git
[8364/8437] Linking CXX shared library lib/libFIRCodeGen.so.23.0git
[8365/8437] Linking CXX shared library lib/libFortranSemantics.so.23.0git
[8366/8437] Building CXX object tools/flang/lib/Optimizer/HLFIR/Transforms/CMakeFiles/HLFIRTransforms.dir/SimplifyHLFIRIntrinsics.cpp.o
[8367/8437] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/PolymorphicOpConversion.cpp.o
[8368/8437] Linking CXX executable bin/fir-lsp-server
[8369/8437] Building CXX object tools/flang/tools/flang-driver/CMakeFiles/flang.dir/fc1_main.cpp.o
[8370/8437] Building CXX object tools/flang/tools/fir-opt/CMakeFiles/fir-opt.dir/fir-opt.cpp.o
[8371/8437] Building CXX object tools/flang/tools/tco/CMakeFiles/tco.dir/tco.cpp.o
[8372/8437] Building CXX object tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/ParserActions.cpp.o
In file included from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/Support/MemoryBuffer.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/source.h:19,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/provenance.h:15,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/message.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/parse-tree.h:23,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/user-state.h:19,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/parse-state.h:18,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/instrumented-parser.h:12,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/parsing.h:12,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/cmake_pch.hxx:5,
                 from <command-line>:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Block*]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/mlir/include/mlir/IR/BlockSupport.h:116:44:   required from here
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<mlir::Block*>::Data’ from ‘std::initializer_list<mlir::Block*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
  112 |         : Data(Vec.begin() == Vec.end() ? (T *)nullptr : Vec.begin()),
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = long int]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/mlir/include/mlir/IR/AffineMap.h:294:38:   required from here
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Value]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/mlir/include/mlir/IR/ValueRange.h:405:42:   required from here
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<mlir::Value>::Data’ from ‘std::initializer_list<mlir::Value>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Type]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/mlir/include/mlir/IR/TypeRange.h:53:39:   required from here
Step 7 (build cmake config) failure: build cmake config (failure)
...
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/lib/Semantics/check-omp-atomic.cpp:827:24:   required from here
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<Fortran::evaluate::Expr<Fortran::evaluate::SomeType> >::Data’ from ‘std::initializer_list<Fortran::evaluate::Expr<Fortran::evaluate::SomeType> >::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
  112 |         : Data(Vec.begin() == Vec.end() ? (T *)nullptr : Vec.begin()),
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8357/8437] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/resolve-names.cpp.o
[8358/8437] Building CXX object tools/flang/lib/Optimizer/HLFIR/Transforms/CMakeFiles/HLFIRTransforms.dir/LowerHLFIRIntrinsics.cpp.o
[8359/8437] Building CXX object tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCTypeInterfaces.cpp.o
[8360/8437] Linking CXX shared library lib/libFIROpenACCSupport.so.23.0git
[8361/8437] Creating library symlink lib/libFIROpenACCSupport.so
[8362/8437] Linking CXX shared library lib/libFIROpenACCAnalysis.so.23.0git
FAILED: lib/libFIROpenACCAnalysis.so.23.0git 
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -fpch-preprocess -O3 -DNDEBUG -fno-semantic-interposition  -Wl,-z,defs -Wl,-z,nodelete   -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/./lib  -Wl,--gc-sections -shared -Wl,-soname,libFIROpenACCAnalysis.so.23.0git -o lib/libFIROpenACCAnalysis.so.23.0git tools/flang/lib/Optimizer/OpenACC/Analysis/CMakeFiles/FIROpenACCAnalysis.dir/FIROpenACCSupportAnalysis.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib:"  lib/libFIRAnalysis.so.23.0git  lib/libFIROpenACCSupport.so.23.0git  lib/libHLFIRDialect.so.23.0git  lib/libFIRDialect.so.23.0git  lib/libMLIROpenACCDialect.so.23.0git  lib/libMLIROpenACCMPCommon.so.23.0git  lib/libMLIRGPUDialect.so.23.0git  lib/libMLIRMemRefDialect.so.23.0git  lib/libMLIRArithUtils.so.23.0git  lib/libMLIRComplexDialect.so.23.0git  lib/libMLIRDialectUtils.so.23.0git  lib/libMLIRDLTIDialect.so.23.0git  lib/libMLIRMathDialect.so.23.0git  lib/libMLIRArithDialect.so.23.0git  lib/libMLIRInferIntRangeCommon.so.23.0git  lib/libMLIRShapedOpInterfaces.so.23.0git  lib/libMLIRCastInterfaces.so.23.0git  lib/libMLIRDialect.so.23.0git  lib/libMLIRLLVMDialect.so.23.0git  lib/libMLIRPtrMemorySpaceInterfaces.so.23.0git  lib/libMLIRMemorySlotInterfaces.so.23.0git  lib/libMLIRMemOpInterfaces.so.23.0git  lib/libMLIRUBDialect.so.23.0git  lib/libMLIRValueBoundsOpInterface.so.23.0git  lib/libMLIRDestinationStyleOpInterface.so.23.0git  lib/libMLIRAnalysis.so.23.0git  lib/libMLIRControlFlowInterfaces.so.23.0git  lib/libMLIRSideEffectInterfaces.so.23.0git  lib/libMLIRDataLayoutInterfaces.so.23.0git  lib/libMLIRInferTypeOpInterface.so.23.0git  lib/libMLIRInferStridedMetadataInterface.so.23.0git  lib/libMLIRInferIntRangeInterface.so.23.0git  lib/libMLIRViewLikeInterface.so.23.0git  lib/libMLIRLoopLikeInterface.so.23.0git  lib/libMLIRFunctionInterfaces.so.23.0git  lib/libMLIRCallInterfaces.so.23.0git  lib/libMLIRPresburger.so.23.0git  lib/libMLIRIR.so.23.0git  lib/libMLIRSupport.so.23.0git  lib/libLLVMCore.so.23.0git  lib/libLLVMBinaryFormat.so.23.0git  lib/libLLVMSupport.so.23.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib && :
/usr/bin/ld: tools/flang/lib/Optimizer/OpenACC/Analysis/CMakeFiles/FIROpenACCAnalysis.dir/FIROpenACCSupportAnalysis.cpp.o: in function `fir::acc::FIROpenACCSupportAnalysis::isValidValueUse(mlir::Value, mlir::Region&)':
FIROpenACCSupportAnalysis.cpp:(.text._ZN3fir3acc25FIROpenACCSupportAnalysis15isValidValueUseEN4mlir5ValueERNS2_6RegionE+0xb): undefined reference to `mlir::acc::isValidValueUse(mlir::Value, mlir::Region&)'
collect2: error: ld returned 1 exit status
[8363/8437] Linking CXX shared library lib/libFIRTestOpenACCInterfaces.so.23.0git
[8364/8437] Linking CXX shared library lib/libFIRCodeGen.so.23.0git
[8365/8437] Linking CXX shared library lib/libFortranSemantics.so.23.0git
[8366/8437] Building CXX object tools/flang/lib/Optimizer/HLFIR/Transforms/CMakeFiles/HLFIRTransforms.dir/SimplifyHLFIRIntrinsics.cpp.o
[8367/8437] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/PolymorphicOpConversion.cpp.o
[8368/8437] Linking CXX executable bin/fir-lsp-server
[8369/8437] Building CXX object tools/flang/tools/flang-driver/CMakeFiles/flang.dir/fc1_main.cpp.o
[8370/8437] Building CXX object tools/flang/tools/fir-opt/CMakeFiles/fir-opt.dir/fir-opt.cpp.o
[8371/8437] Building CXX object tools/flang/tools/tco/CMakeFiles/tco.dir/tco.cpp.o
[8372/8437] Building CXX object tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/ParserActions.cpp.o
In file included from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/Support/MemoryBuffer.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/source.h:19,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/provenance.h:15,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/message.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/parse-tree.h:23,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/user-state.h:19,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/parse-state.h:18,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/instrumented-parser.h:12,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Parser/parsing.h:12,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/cmake_pch.hxx:5,
                 from <command-line>:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Block*]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/mlir/include/mlir/IR/BlockSupport.h:116:44:   required from here
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<mlir::Block*>::Data’ from ‘std::initializer_list<mlir::Block*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
  112 |         : Data(Vec.begin() == Vec.end() ? (T *)nullptr : Vec.begin()),
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = long int]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/mlir/include/mlir/IR/AffineMap.h:294:38:   required from here
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Value]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/mlir/include/mlir/IR/ValueRange.h:405:42:   required from here
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<mlir::Value>::Data’ from ‘std::initializer_list<mlir::Value>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Type]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/mlir/include/mlir/IR/TypeRange.h:53:39:   required from here

```

</details>

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


More information about the Mlir-commits mailing list