[llvm] [LFI][AArch64] Add PAC support (PR #207915)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 01:25:31 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 134218 tests passed
* 3086 tests skipped

All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.

<details>
<summary>[code=4294967295] tools/mlir/unittests/Dialect/OpenACC/MLIROpenACCTests.exe</summary>

```
FAILED: [code=4294967295] tools/mlir/unittests/Dialect/OpenACC/MLIROpenACCTests.exe
C:\Windows\system32\cmd.exe /C "cd . && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E vs_link_exe --msvc-ver=1944 --intdir=tools\mlir\unittests\Dialect\OpenACC\CMakeFiles\MLIROpenACCTests.dir --rc="C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\rc.exe" --mt="C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\mt.exe" --manifests  -- C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\MLIROpenACCTests.rsp  /out:tools\mlir\unittests\Dialect\OpenACC\MLIROpenACCTests.exe /implib:tools\mlir\unittests\Dialect\OpenACC\MLIROpenACCTests.lib /pdb:tools\mlir\unittests\Dialect\OpenACC\MLIROpenACCTests.pdb /version:0.0 /MANIFEST:NO /Brepro /INCREMENTAL:NO /subsystem:console  /STACK:10000000 && cd ."
LINK: command "C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\MLIROpenACCTests.rsp /out:tools\mlir\unittests\Dialect\OpenACC\MLIROpenACCTests.exe /implib:tools\mlir\unittests\Dialect\OpenACC\MLIROpenACCTests.lib /pdb:tools\mlir\unittests\Dialect\OpenACC\MLIROpenACCTests.pdb /version:0.0 /MANIFEST:NO /Brepro /INCREMENTAL:NO /subsystem:console /STACK:10000000" failed (exit code 1) with the following output:
lld-link: error: undefined symbol: public: static class mlir::DataLayoutEntryAttr __cdecl mlir::DataLayoutEntryAttr::get(class mlir::Type, class mlir::Attribute)
>>> referenced by tools\mlir\unittests\Dialect\OpenACC\CMakeFiles\MLIROpenACCTests.dir\OpenACCUtilsCGTest.cpp.obj:(private: virtual void __cdecl OpenACCUtilsCGTest_getDataLayoutWithSpec_Test::TestBody(void))

lld-link: error: undefined symbol: public: static class mlir::DataLayoutSpecAttr __cdecl mlir::DataLayoutSpecAttr::get(class mlir::MLIRContext *, class llvm::ArrayRef<class mlir::DataLayoutEntryInterface>)
>>> referenced by tools\mlir\unittests\Dialect\OpenACC\CMakeFiles\MLIROpenACCTests.dir\OpenACCUtilsCGTest.cpp.obj:(private: virtual void __cdecl OpenACCUtilsCGTest_getDataLayoutWithSpec_Test::TestBody(void))

lld-link: error: undefined symbol: private: static class mlir::SelfOwningTypeID mlir::detail::TypeIDResolver<class mlir::DLTIDialect, void>::id
>>> referenced by tools\mlir\unittests\Dialect\OpenACC\CMakeFiles\MLIROpenACCTests.dir\OpenACCUtilsCGTest.cpp.obj:(public: void __cdecl mlir::MLIRContext::loadDialect<class mlir::gpu::GPUDialect, class mlir::DLTIDialect>(void))

lld-link: error: undefined symbol: private: __cdecl mlir::DLTIDialect::DLTIDialect(class mlir::MLIRContext *)
>>> referenced by tools\mlir\unittests\Dialect\OpenACC\CMakeFiles\MLIROpenACCTests.dir\OpenACCUtilsCGTest.cpp.obj:(private: static class std::unique_ptr<class mlir::Dialect, struct std::default_delete<class mlir::Dialect>> __cdecl llvm::function_ref<class std::unique_ptr<class mlir::Dialect, struct std::default_delete<class mlir::Dialect>> __cdecl(void)>::callback_fn<class `public: class mlir::DLTIDialect * __cdecl mlir::MLIRContext::getOrLoadDialect<class mlir::DLTIDialect>(void)'::`1'::<lambda_1>>(__int64))

lld-link: error: undefined symbol: class mlir::DataLayoutSpecInterface __cdecl mlir::impl::getDataLayoutSpec(class mlir::Operation *)
>>> referenced by MLIRGPUDialect.lib(GPUDialect.cpp.obj):(public: static class mlir::DataLayoutSpecInterface __cdecl mlir::detail::DataLayoutOpInterfaceInterfaceTraits::Model<class mlir::gpu::GPUModuleOp>::getDataLayoutSpec(struct mlir::detail::DataLayoutOpInterfaceInterfaceTraits::Concept const *, class mlir::Operation *))

lld-link: error: undefined symbol: class mlir::TargetSystemSpecInterface __cdecl mlir::impl::getTargetSystemSpec(class mlir::Operation *)
>>> referenced by MLIRGPUDialect.lib(GPUDialect.cpp.obj):(public: static class mlir::TargetSystemSpecInterface __cdecl mlir::detail::DataLayoutOpInterfaceInterfaceTraits::Model<class mlir::gpu::GPUModuleOp>::getTargetSystemSpec(struct mlir::detail::DataLayoutOpInterfaceInterfaceTraits::Concept const *, class mlir::Operation *))

lld-link: error: undefined symbol: struct llvm::LogicalResult __cdecl mlir::impl::verifyHasDefaultDLTIDataLayoutTrait(class mlir::Operation *)
>>> referenced by MLIRGPUDialect.lib(GPUDialect.cpp.obj):(struct llvm::LogicalResult __cdecl mlir::op_definition_impl::verifyTraits<class mlir::OpTrait::OneRegion<class mlir::gpu::GPUModuleOp>, class mlir::OpTrait::ZeroResults<class mlir::gpu::GPUModuleOp>, class mlir::OpTrait::ZeroSuccessors<class mlir::gpu::GPUModuleOp>, class mlir::OpTrait::ZeroOperands<class mlir::gpu::GPUModuleOp>, struct mlir::OpTrait::NoRegionArguments<class mlir::gpu::GPUModuleOp>, class mlir::OpTrait::NoTerminator<class mlir::gpu::GPUModuleOp>, struct mlir::OpTrait::SingleBlock<class mlir::gpu::GPUModuleOp>, class mlir::OpTrait::OpInvariants<class mlir::gpu::GPUModuleOp>, struct mlir::BytecodeOpInterface::Trait<class mlir::gpu::GPUModuleOp>, class mlir::OpTrait::IsIsolatedFromAbove<class mlir::gpu::GPUModuleOp>, struct mlir::DataLayoutOpInterface::Trait<class mlir::gpu::GPUModuleOp>, class mlir::HasDefaultDLTIDataLayout<class mlir::gpu::GPUModuleOp>, class mlir::OpTrait::SymbolTable<class mlir::gpu::GPUModuleOp>, struct mlir::SymbolOpInterface::Trait<class mlir::gpu::GPUModuleOp>, struct mlir::RegionKindInterface::Trait<class mlir::gpu::GPUModuleOp>, class mlir::OpTrait::HasOnlyGraphRegion<class mlir::gpu::GPUModuleOp>>(class mlir::Operation *))
```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-commits mailing list