[flang-commits] [flang] [flang][cuda] Add conversion pass for cuf.allocate and cuf.deallocate (PR #101563)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Fri Aug 2 16:26:23 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-libcxx` running on `linaro-flang-aarch64-libcxx` while building `flang` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/89/builds/3457
Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
107.426 [148/14/6943] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/MemoryAllocation.cpp.o
108.735 [148/13/6944] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/StackArrays.cpp.o
112.194 [148/12/6945] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AddDebugInfo.cpp.o
117.892 [148/11/6946] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/SimplifyIntrinsics.cpp.o
122.331 [148/10/6947] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/LoopVersioning.cpp.o
123.835 [148/9/6948] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AddAliasTags.cpp.o
128.031 [148/8/6949] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/MemRefDataFlowOpt.cpp.o
136.359 [148/7/6950] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/ArrayValueCopy.cpp.o
143.116 [148/6/6951] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/PolymorphicOpConversion.cpp.o
143.416 [147/6/6952] Linking CXX shared library lib/libFIRTransforms.so.20.0git
FAILED: lib/libFIRTransforms.so.20.0git
: && /usr/local/bin/c++ -fPIC -stdlib=libc++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Werror -Wno-deprecated-copy -Wno-string-conversion -Wno-ctad-maybe-unsupported -Wno-unused-command-line-argument -Wstring-conversion -Wcovered-switch-default -Wno-nested-anon-types -O3 -DNDEBUG -stdlib=libc++ -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libFIRTransforms.so.20.0git -o lib/libFIRTransforms.so.20.0git tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AbstractResult.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AddAliasTags.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AffinePromotion.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AffineDemotion.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AnnotateConstant.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AssumedRankOpConversion.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CharacterConversion.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/ConstantArgumentGlobalisation.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/ControlFlowConverter.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/ArrayValueCopy.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/ExternalNameConversion.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/MemoryUtils.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/MemoryAllocation.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/StackArrays.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/MemRefDataFlowOpt.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/SimplifyRegionLite.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AlgebraicSimplification.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/SimplifyIntrinsics.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AddDebugInfo.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/PolymorphicOpConversion.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/LoopVersioning.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/OMPFunctionFiltering.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/OMPMapInfoFinalization.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/OMPMarkDeclareTarget.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/StackReclaim.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/VScaleAttr.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/FunctionAttr.cpp.o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/DebugTypeGenerator.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/lib:" lib/libFIRCodeGen.so.20.0git lib/libFortranCommon.so.20.0git lib/libFIRAnalysis.so.20.0git lib/libFIRBuilder.so.20.0git lib/libHLFIRDialect.so.20.0git lib/libFIRSupport.so.20.0git lib/libFIRDialect.so.20.0git lib/libFIRDialectSupport.so.20.0git lib/libMLIRMathTransforms.so.20.0git lib/libMLIROpenACCToLLVMIRTranslation.so.20.0git lib/libMLIRX86VectorDialect.so.20.0git lib/libMLIROpenACCDialect.so.20.0git lib/libMLIROpenMPDialect.so.20.0git lib/libMLIROpenACCMPCommon.so.20.0git lib/libMLIRLLVMCommonConversion.so.20.0git lib/libMLIRTargetLLVMIRExport.so.20.0git lib/libMLIRLLVMIRTransforms.so.20.0git lib/libMLIRNVVMDialect.so.20.0git lib/libMLIRTranslateLib.so.20.0git lib/libLLVMFrontendOpenMP.so.20.0git lib/libMLIRAffineUtils.so.20.0git lib/libMLIRTransforms.so.20.0git lib/libMLIRTransformUtils.so.20.0git lib/libMLIRRewrite.so.20.0git lib/libMLIRRewritePDL.so.20.0git lib/libMLIRPDLToPDLInterp.so.20.0git lib/libMLIRPDLInterpDialect.so.20.0git lib/libMLIRPDLDialect.so.20.0git lib/libMLIRCopyOpInterface.so.20.0git lib/libMLIRRuntimeVerifiableOpInterface.so.20.0git lib/libMLIRPass.so.20.0git lib/libMLIRDLTIDialect.so.20.0git lib/libMLIRMathDialect.so.20.0git lib/libMLIRParser.so.20.0git lib/libMLIRBytecodeReader.so.20.0git lib/libMLIRAsmParser.so.20.0git lib/libMLIRSubsetOpInterface.so.20.0git lib/libMLIRFuncDialect.so.20.0git lib/libMLIRAffineAnalysis.so.20.0git lib/libMLIRSCFDialect.so.20.0git lib/libMLIRControlFlowDialect.so.20.0git lib/libMLIRVectorDialect.so.20.0git lib/libMLIRMaskableOpInterface.so.20.0git lib/libMLIRMaskingOpInterface.so.20.0git lib/libMLIRTensorDialect.so.20.0git lib/libMLIRAffineDialect.so.20.0git lib/libMLIRMemRefDialect.so.20.0git lib/libMLIRArithUtils.so.20.0git lib/libMLIRDialectUtils.so.20.0git lib/libMLIRShapedOpInterfaces.so.20.0git lib/libMLIRValueBoundsOpInterface.so.20.0git lib/libMLIRAnalysis.so.20.0git lib/libMLIRViewLikeInterface.so.20.0git lib/libMLIRLoopLikeInterface.so.20.0git lib/libMLIRPresburger.so.20.0git lib/libMLIRComplexDialect.so.20.0git lib/libMLIRArithAttrToLLVMConversion.so.20.0git lib/libMLIRLLVMDialect.so.20.0git lib/libMLIRCallInterfaces.so.20.0git lib/libMLIRControlFlowInterfaces.so.20.0git lib/libMLIRFunctionInterfaces.so.20.0git lib/libMLIRSideEffectInterfaces.so.20.0git lib/libMLIRDataLayoutInterfaces.so.20.0git lib/libMLIRMemorySlotInterfaces.so.20.0git lib/libMLIRArithDialect.so.20.0git lib/libMLIRInferTypeOpInterface.so.20.0git lib/libMLIRUBDialect.so.20.0git lib/libMLIRDialect.so.20.0git lib/libMLIRInferIntRangeCommon.so.20.0git lib/libMLIRInferIntRangeInterface.so.20.0git lib/libMLIRCastInterfaces.so.20.0git lib/libMLIRDestinationStyleOpInterface.so.20.0git lib/libMLIRParallelCombiningOpInterface.so.20.0git lib/libMLIRVectorInterfaces.so.20.0git lib/libMLIRIR.so.20.0git lib/libMLIRSupport.so.20.0git -lpthread lib/libLLVMBitWriter.so.20.0git lib/libLLVMTransformUtils.so.20.0git lib/libLLVMAsmParser.so.20.0git lib/libLLVMBitReader.so.20.0git lib/libLLVMCore.so.20.0git lib/libLLVMBinaryFormat.so.20.0git lib/libLLVMTargetParser.so.20.0git lib/libLLVMSupport.so.20.0git -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/lib && :
/usr/bin/ld: tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o: in function `mlir::detail::OpOrInterfaceRewritePatternBase<cuf::AllocateOp>::rewrite(mlir::Operation*, mlir::PatternRewriter&) const':
CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE7rewriteEPNS_9OperationERNS_15PatternRewriterE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE7rewriteEPNS_9OperationERNS_15PatternRewriterE]+0x24): undefined reference to `mlir::detail::TypeIDResolver<cuf::AllocateOp, void>::id'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE7rewriteEPNS_9OperationERNS_15PatternRewriterE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE7rewriteEPNS_9OperationERNS_15PatternRewriterE]+0x28): undefined reference to `mlir::detail::TypeIDResolver<cuf::AllocateOp, void>::id'
/usr/bin/ld: tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o: in function `mlir::detail::OpOrInterfaceRewritePatternBase<cuf::AllocateOp>::match(mlir::Operation*) const':
CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE5matchEPNS_9OperationE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE5matchEPNS_9OperationE]+0x24): undefined reference to `mlir::detail::TypeIDResolver<cuf::AllocateOp, void>::id'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE5matchEPNS_9OperationE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE5matchEPNS_9OperationE]+0x28): undefined reference to `mlir::detail::TypeIDResolver<cuf::AllocateOp, void>::id'
/usr/bin/ld: tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o: in function `mlir::detail::OpOrInterfaceRewritePatternBase<cuf::AllocateOp>::matchAndRewrite(mlir::Operation*, mlir::PatternRewriter&) const':
CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE15matchAndRewriteEPNS_9OperationERNS_15PatternRewriterE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE15matchAndRewriteEPNS_9OperationERNS_15PatternRewriterE]+0x24): undefined reference to `mlir::detail::TypeIDResolver<cuf::AllocateOp, void>::id'
/usr/bin/ld: tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o:CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE15matchAndRewriteEPNS_9OperationERNS_15PatternRewriterE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf10AllocateOpEE15matchAndRewriteEPNS_9OperationERNS_15PatternRewriterE]+0x28): more undefined references to `mlir::detail::TypeIDResolver<cuf::AllocateOp, void>::id' follow
/usr/bin/ld: tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o: in function `(anonymous namespace)::CufAllocateOpConversion::matchAndRewrite(cuf::AllocateOp, mlir::PatternRewriter&) const':
CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_123CufAllocateOpConversion15matchAndRewriteEN3cuf10AllocateOpERN4mlir15PatternRewriterE+0x30): undefined reference to `cuf::AllocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_123CufAllocateOpConversion15matchAndRewriteEN3cuf10AllocateOpERN4mlir15PatternRewriterE+0x6c): undefined reference to `cuf::AllocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_123CufAllocateOpConversion15matchAndRewriteEN3cuf10AllocateOpERN4mlir15PatternRewriterE+0xa8): undefined reference to `cuf::AllocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_123CufAllocateOpConversion15matchAndRewriteEN3cuf10AllocateOpERN4mlir15PatternRewriterE+0x140): undefined reference to `cuf::AllocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_123CufAllocateOpConversion15matchAndRewriteEN3cuf10AllocateOpERN4mlir15PatternRewriterE+0x1d4): undefined reference to `cuf::AllocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_123CufAllocateOpConversion15matchAndRewriteEN3cuf10AllocateOpERN4mlir15PatternRewriterE+0x4d4): undefined reference to `cuf::AllocateOp::getHasStat()'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_123CufAllocateOpConversion15matchAndRewriteEN3cuf10AllocateOpERN4mlir15PatternRewriterE+0x508): undefined reference to `cuf::AllocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_123CufAllocateOpConversion15matchAndRewriteEN3cuf10AllocateOpERN4mlir15PatternRewriterE+0x544): undefined reference to `cuf::AllocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_123CufAllocateOpConversion15matchAndRewriteEN3cuf10AllocateOpERN4mlir15PatternRewriterE+0x5c4): undefined reference to `cuf::AllocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o: in function `mlir::detail::OpOrInterfaceRewritePatternBase<cuf::DeallocateOp>::rewrite(mlir::Operation*, mlir::PatternRewriter&) const':
CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE7rewriteEPNS_9OperationERNS_15PatternRewriterE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE7rewriteEPNS_9OperationERNS_15PatternRewriterE]+0x24): undefined reference to `mlir::detail::TypeIDResolver<cuf::DeallocateOp, void>::id'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE7rewriteEPNS_9OperationERNS_15PatternRewriterE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE7rewriteEPNS_9OperationERNS_15PatternRewriterE]+0x28): undefined reference to `mlir::detail::TypeIDResolver<cuf::DeallocateOp, void>::id'
/usr/bin/ld: tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o: in function `mlir::detail::OpOrInterfaceRewritePatternBase<cuf::DeallocateOp>::match(mlir::Operation*) const':
CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE5matchEPNS_9OperationE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE5matchEPNS_9OperationE]+0x24): undefined reference to `mlir::detail::TypeIDResolver<cuf::DeallocateOp, void>::id'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE5matchEPNS_9OperationE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE5matchEPNS_9OperationE]+0x28): undefined reference to `mlir::detail::TypeIDResolver<cuf::DeallocateOp, void>::id'
/usr/bin/ld: tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o: in function `mlir::detail::OpOrInterfaceRewritePatternBase<cuf::DeallocateOp>::matchAndRewrite(mlir::Operation*, mlir::PatternRewriter&) const':
CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE15matchAndRewriteEPNS_9OperationERNS_15PatternRewriterE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE15matchAndRewriteEPNS_9OperationERNS_15PatternRewriterE]+0x24): undefined reference to `mlir::detail::TypeIDResolver<cuf::DeallocateOp, void>::id'
/usr/bin/ld: tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o:CufOpConversion.cpp:(.text._ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE15matchAndRewriteEPNS_9OperationERNS_15PatternRewriterE[_ZNK4mlir6detail31OpOrInterfaceRewritePatternBaseIN3cuf12DeallocateOpEE15matchAndRewriteEPNS_9OperationERNS_15PatternRewriterE]+0x28): more undefined references to `mlir::detail::TypeIDResolver<cuf::DeallocateOp, void>::id' follow
/usr/bin/ld: tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o: in function `(anonymous namespace)::CufDeallocateOpConversion::matchAndRewrite(cuf::DeallocateOp, mlir::PatternRewriter&) const':
CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_125CufDeallocateOpConversion15matchAndRewriteEN3cuf12DeallocateOpERN4mlir15PatternRewriterE+0x34): undefined reference to `cuf::DeallocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_125CufDeallocateOpConversion15matchAndRewriteEN3cuf12DeallocateOpERN4mlir15PatternRewriterE+0xc8): undefined reference to `cuf::DeallocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_125CufDeallocateOpConversion15matchAndRewriteEN3cuf12DeallocateOpERN4mlir15PatternRewriterE+0x3cc): undefined reference to `cuf::DeallocateOp::getHasStat()'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_125CufDeallocateOpConversion15matchAndRewriteEN3cuf12DeallocateOpERN4mlir15PatternRewriterE+0x400): undefined reference to `cuf::DeallocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_125CufDeallocateOpConversion15matchAndRewriteEN3cuf12DeallocateOpERN4mlir15PatternRewriterE+0x43c): undefined reference to `cuf::DeallocateOp::getODSOperandIndexAndLength(unsigned int)'
/usr/bin/ld: CufOpConversion.cpp:(.text._ZNK12_GLOBAL__N_125CufDeallocateOpConversion15matchAndRewriteEN3cuf12DeallocateOpERN4mlir15PatternRewriterE+0x4bc): undefined reference to `cuf::DeallocateOp::getODSOperandIndexAndLength(unsigned int)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
150.156 [147/5/6953] Building CXX object tools/flang/tools/fir-opt/CMakeFiles/fir-opt.dir/fir-opt.cpp.o
```
https://github.com/llvm/llvm-project/pull/101563
More information about the flang-commits
mailing list