[flang-commits] [flang] [flang][acc][NFC] move recipe generation in FIROpenACCUtils (PR #176924)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Wed Jan 21 01:50:42 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` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/205/builds/33630
<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)
...
[8361/8438] Linking CXX shared library lib/libFortranSemantics.so.23.0git
[8362/8438] Creating library symlink lib/libFortranSemantics.so
[8363/8438] Linking CXX executable tools/flang/unittests/Evaluate/integer.test
[8364/8438] Linking CXX executable tools/flang/unittests/Evaluate/logical.test
[8365/8438] Linking CXX executable tools/flang/unittests/Evaluate/real.test
[8366/8438] Linking CXX executable tools/flang/unittests/Evaluate/intrinsics.test
[8367/8438] Linking CXX executable tools/flang/unittests/Evaluate/folding.test
[8368/8438] Linking CXX executable tools/flang/unittests/Evaluate/expression.test
[8369/8438] Building CXX object tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCTypeInterfaces.cpp.o
[8370/8438] Linking CXX shared library lib/libFIROpenACCSupport.so.23.0git
FAILED: lib/libFIROpenACCSupport.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,libFIROpenACCSupport.so.23.0git -o lib/libFIROpenACCSupport.so.23.0git tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCAttributes.cpp.o tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCOpsInterfaces.cpp.o tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCTypeInterfaces.cpp.o tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCUtils.cpp.o tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/RegisterOpenACCExtensions.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib:" lib/libFIRBuilder.so.23.0git lib/libFIRCodeGenDialect.so.23.0git lib/libFIRSupport.so.23.0git lib/libHLFIRDialect.so.23.0git lib/libCUFDialect.so.23.0git lib/libFIRDialect.so.23.0git lib/libCUFAttrs.so.23.0git lib/libFIRDialectSupport.so.23.0git lib/libMLIROpenACCDialect.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/libMLIROpenACCMPCommon.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/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCUtils.cpp.o: in function `fir::acc::getVariableName[abi:cxx11](mlir::Value, bool) [clone .localalias]':
FIROpenACCUtils.cpp:(.text._ZN3fir3acc15getVariableNameB5cxx11EN4mlir5ValueEb+0x18b3): undefined reference to `mlir::acc::getVariableName[abi:cxx11](mlir::Value)'
collect2: error: ld returned 1 exit status
[8371/8438] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/PolymorphicOpConversion.cpp.o
[8372/8438] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/OpenMP.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/Evaluate/common.h:19,
from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Evaluate/expression.h:19,
from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Semantics/tools.h:16,
from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Lower/Support/Utils.h:18,
from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Lower/ConvertExpr.h:20,
from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/tools/flang/lib/Lower/CMakeFiles/FortranLower.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
/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::Type>::Data’ from ‘std::initializer_list<mlir::Type>::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 = unsigned int]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/tools/mlir/include/mlir/Interfaces/FunctionInterfaces.h.inc:270:29: 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<unsigned int>::Data’ from ‘std::initializer_list<unsigned 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::DictionaryAttr]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/tools/mlir/include/mlir/Interfaces/FunctionInterfaces.h.inc:270:29: 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::DictionaryAttr>::Data’ from ‘std::initializer_list<mlir::DictionaryAttr>::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::Location]’:
Step 7 (build cmake config) failure: build cmake config (failure)
...
[8361/8438] Linking CXX shared library lib/libFortranSemantics.so.23.0git
[8362/8438] Creating library symlink lib/libFortranSemantics.so
[8363/8438] Linking CXX executable tools/flang/unittests/Evaluate/integer.test
[8364/8438] Linking CXX executable tools/flang/unittests/Evaluate/logical.test
[8365/8438] Linking CXX executable tools/flang/unittests/Evaluate/real.test
[8366/8438] Linking CXX executable tools/flang/unittests/Evaluate/intrinsics.test
[8367/8438] Linking CXX executable tools/flang/unittests/Evaluate/folding.test
[8368/8438] Linking CXX executable tools/flang/unittests/Evaluate/expression.test
[8369/8438] Building CXX object tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCTypeInterfaces.cpp.o
[8370/8438] Linking CXX shared library lib/libFIROpenACCSupport.so.23.0git
FAILED: lib/libFIROpenACCSupport.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,libFIROpenACCSupport.so.23.0git -o lib/libFIROpenACCSupport.so.23.0git tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCAttributes.cpp.o tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCOpsInterfaces.cpp.o tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCTypeInterfaces.cpp.o tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCUtils.cpp.o tools/flang/lib/Optimizer/OpenACC/Support/CMakeFiles/FIROpenACCSupport.dir/RegisterOpenACCExtensions.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib:" lib/libFIRBuilder.so.23.0git lib/libFIRCodeGenDialect.so.23.0git lib/libFIRSupport.so.23.0git lib/libHLFIRDialect.so.23.0git lib/libCUFDialect.so.23.0git lib/libFIRDialect.so.23.0git lib/libCUFAttrs.so.23.0git lib/libFIRDialectSupport.so.23.0git lib/libMLIROpenACCDialect.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/libMLIROpenACCMPCommon.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/Support/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCUtils.cpp.o: in function `fir::acc::getVariableName[abi:cxx11](mlir::Value, bool) [clone .localalias]':
FIROpenACCUtils.cpp:(.text._ZN3fir3acc15getVariableNameB5cxx11EN4mlir5ValueEb+0x18b3): undefined reference to `mlir::acc::getVariableName[abi:cxx11](mlir::Value)'
collect2: error: ld returned 1 exit status
[8371/8438] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/PolymorphicOpConversion.cpp.o
[8372/8438] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/OpenMP.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/Evaluate/common.h:19,
from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Evaluate/expression.h:19,
from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Semantics/tools.h:16,
from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Lower/Support/Utils.h:18,
from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/flang/include/flang/Lower/ConvertExpr.h:20,
from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/tools/flang/lib/Lower/CMakeFiles/FortranLower.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
/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::Type>::Data’ from ‘std::initializer_list<mlir::Type>::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 = unsigned int]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/tools/mlir/include/mlir/Interfaces/FunctionInterfaces.h.inc:270:29: 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<unsigned int>::Data’ from ‘std::initializer_list<unsigned 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::DictionaryAttr]’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/tools/mlir/include/mlir/Interfaces/FunctionInterfaces.h.inc:270:29: 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::DictionaryAttr>::Data’ from ‘std::initializer_list<mlir::DictionaryAttr>::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::Location]’:
```
</details>
https://github.com/llvm/llvm-project/pull/176924
More information about the flang-commits
mailing list