pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

llvm: updated to 17.0.3



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By:	adam
Date:		Sun Oct 22 19:39:27 2023 +0200
Changeset:	068ca2b97b8df17c8470891e3ca056eba726a518

Modified Files:
	clang-tools-extra/PLIST
	clang-tools-extra/distinfo
	clang/Makefile.common
	clang/PLIST
	clang/buildlink3.mk
	clang/distinfo
	clang/patches/patch-lib_Basic_Targets_OSTargets.h
	clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp
	clang/patches/patch-lib_Lex_InitHeaderSearch.cpp
	compiler-rt/distinfo
	flang/Makefile
	flang/PLIST
	flang/distinfo
	libcxx/Makefile
	libcxx/PLIST
	libcxx/distinfo
	libcxxabi/Makefile
	libcxxabi/distinfo
	libunwind/distinfo
	libunwind/patches/patch-src_CMakeLists.txt
	lld/distinfo
	lldb/PLIST
	lldb/distinfo
	llvm/PLIST
	llvm/distinfo
	llvm/options.mk
	llvm/version.mk
	mlir/PLIST
	mlir/distinfo
	mlir/patches/patch-tools_mlir-tblgen_CMakeLists.txt
	openmp/distinfo
	polly/PLIST
	polly/distinfo
Added Files:
	libcxx/patches/patch-src_filesystem_file__descriptor.h
Removed Files:
	compiler-rt/patches/patch-lib_asan_CMakeLists.txt
	compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp
	libcxx/patches/patch-include_____locale
	libcxx/patches/patch-include_____support_solaris_xlocale.h
	libcxx/patches/patch-src_filesystem_filesystem__common.h
	libcxx/patches/patch-src_support_solaris_xlocale.cpp
	lld/patches/patch-CMakeLists.txt
	lldb/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD__x86__64.cpp
	polly/patches/patch-CMakeLists.txt

Log Message:
llvm: updated to 17.0.3

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=068ca2b97b8df17c8470891e3ca056eba726a518

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 clang-tools-extra/PLIST                            |  25 ++
 clang-tools-extra/distinfo                         |  18 +-
 clang/Makefile.common                              |   2 +-
 clang/PLIST                                        |  57 ++++-
 clang/buildlink3.mk                                |   2 +-
 clang/distinfo                                     |  18 +-
 clang/patches/patch-lib_Basic_Targets_OSTargets.h  |  10 +-
 .../patch-lib_Driver_ToolChains_Solaris.cpp        |  57 ++---
 clang/patches/patch-lib_Lex_InitHeaderSearch.cpp   |  10 +-
 compiler-rt/distinfo                               |  17 +-
 compiler-rt/patches/patch-lib_asan_CMakeLists.txt  |  16 --
 ..._common_sanitizer__platform__limits__netbsd.cpp |  75 ------
 flang/Makefile                                     |  15 +-
 flang/PLIST                                        |  71 ++++--
 flang/distinfo                                     |  15 +-
 libcxx/Makefile                                    |   1 -
 libcxx/PLIST                                       | 188 ++++++++++++--
 libcxx/distinfo                                    |  25 +-
 libcxx/patches/patch-include_____locale            |  15 --
 .../patch-include_____support_solaris_xlocale.h    |  32 ---
 .../patch-src_filesystem_file__descriptor.h        |  28 +++
 .../patch-src_filesystem_filesystem__common.h      |  28 ---
 .../patches/patch-src_support_solaris_xlocale.cpp  |  18 --
 libcxxabi/Makefile                                 |   5 +-
 libcxxabi/distinfo                                 |  21 +-
 libunwind/distinfo                                 |  23 +-
 libunwind/patches/patch-src_CMakeLists.txt         |  16 --
 lld/distinfo                                       |  16 +-
 lld/patches/patch-CMakeLists.txt                   |  16 --
 lldb/PLIST                                         |  16 +-
 lldb/distinfo                                      |  16 +-
 ...NetBSD_NativeRegisterContextNetBSD__x86__64.cpp |  24 --
 llvm/PLIST                                         |  98 +++++---
 llvm/distinfo                                      |  15 +-
 llvm/options.mk                                    |   3 -
 llvm/version.mk                                    |   8 +-
 mlir/PLIST                                         | 277 ++++++++++++++++++---
 mlir/distinfo                                      |  17 +-
 .../patches/patch-tools_mlir-tblgen_CMakeLists.txt |   6 +-
 openmp/distinfo                                    |  15 +-
 polly/PLIST                                        |   2 -
 polly/distinfo                                     |  16 +-
 polly/patches/patch-CMakeLists.txt                 |  17 --
 43 files changed, 815 insertions(+), 555 deletions(-)

diffs:
diff --git a/clang-tools-extra/PLIST b/clang-tools-extra/PLIST
index 1b0d5c5bae..01722bb44c 100644
--- a/clang-tools-extra/PLIST
+++ b/clang-tools-extra/PLIST
@@ -23,6 +23,7 @@ include/clang-tidy/ClangTidyModuleRegistry.h
 include/clang-tidy/ClangTidyOptions.h
 include/clang-tidy/ClangTidyProfiling.h
 include/clang-tidy/ExpandModularHeadersPPCallbacks.h
+include/clang-tidy/FileExtensionsSet.h
 include/clang-tidy/GlobList.h
 include/clang-tidy/NoLintDirectiveHandler.h
 include/clang-tidy/abseil/AbseilMatcher.h
@@ -78,6 +79,7 @@ include/clang-tidy/bugprone/CopyConstructorInitCheck.h
 include/clang-tidy/bugprone/DanglingHandleCheck.h
 include/clang-tidy/bugprone/DynamicStaticInitializersCheck.h
 include/clang-tidy/bugprone/EasilySwappableParametersCheck.h
+include/clang-tidy/bugprone/EmptyCatchCheck.h
 include/clang-tidy/bugprone/ExceptionEscapeCheck.h
 include/clang-tidy/bugprone/FoldInitTypeCheck.h
 include/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.h
@@ -94,8 +96,10 @@ include/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.h
 include/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h
 include/clang-tidy/bugprone/MisplacedWideningCastCheck.h
 include/clang-tidy/bugprone/MoveForwardingReferenceCheck.h
+include/clang-tidy/bugprone/MultipleNewInOneExpressionCheck.h
 include/clang-tidy/bugprone/MultipleStatementMacroCheck.h
 include/clang-tidy/bugprone/NoEscapeCheck.h
+include/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.h
 include/clang-tidy/bugprone/NotNullTerminatedResultCheck.h
 include/clang-tidy/bugprone/ParentVirtualCallCheck.h
 include/clang-tidy/bugprone/PosixReturnCheck.h
@@ -122,6 +126,7 @@ include/clang-tidy/bugprone/SuspiciousReallocUsageCheck.h
 include/clang-tidy/bugprone/SuspiciousSemicolonCheck.h
 include/clang-tidy/bugprone/SuspiciousStringCompareCheck.h
 include/clang-tidy/bugprone/SwappedArgumentsCheck.h
+include/clang-tidy/bugprone/SwitchMissingDefaultCaseCheck.h
 include/clang-tidy/bugprone/TerminatingContinueCheck.h
 include/clang-tidy/bugprone/ThrowKeywordMissingCheck.h
 include/clang-tidy/bugprone/TooSmallLoopVariableCheck.h
@@ -130,6 +135,8 @@ include/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.h
 include/clang-tidy/bugprone/UndelegatedConstructorCheck.h
 include/clang-tidy/bugprone/UnhandledExceptionAtNewCheck.h
 include/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.h
+include/clang-tidy/bugprone/UniquePtrArrayMismatchCheck.h
+include/clang-tidy/bugprone/UnsafeFunctionsCheck.h
 include/clang-tidy/bugprone/UnusedRaiiCheck.h
 include/clang-tidy/bugprone/UnusedReturnValueCheck.h
 include/clang-tidy/bugprone/UseAfterMoveCheck.h
@@ -150,6 +157,7 @@ include/clang-tidy/cert/ThrownExceptionTypeCheck.h
 include/clang-tidy/cert/VariadicFunctionDefCheck.h
 include/clang-tidy/concurrency/MtUnsafeCheck.h
 include/clang-tidy/concurrency/ThreadCanceltypeAsynchronousCheck.h
+include/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h
 include/clang-tidy/cppcoreguidelines/AvoidConstOrRefDataMembersCheck.h
 include/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.h
 include/clang-tidy/cppcoreguidelines/AvoidGotoCheck.h
@@ -158,6 +166,8 @@ include/clang-tidy/cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.h
 include/clang-tidy/cppcoreguidelines/InitVariablesCheck.h
 include/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.h
 include/clang-tidy/cppcoreguidelines/MacroUsageCheck.h
+include/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.h
+include/clang-tidy/cppcoreguidelines/MissingStdForwardCheck.h
 include/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h
 include/clang-tidy/cppcoreguidelines/NoMallocCheck.h
 include/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h
@@ -172,6 +182,7 @@ include/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h
 include/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h
 include/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.h
 include/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h
+include/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h
 include/clang-tidy/cppcoreguidelines/SlicingCheck.h
 include/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h
 include/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.h
@@ -212,10 +223,13 @@ include/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.h
 include/clang-tidy/llvm/TwineLocalCheck.h
 include/clang-tidy/llvmlibc/CalleeNamespaceCheck.h
 include/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.h
+include/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h
 include/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.h
 include/clang-tidy/misc/ConfusableIdentifierCheck.h
 include/clang-tidy/misc/ConstCorrectnessCheck.h
 include/clang-tidy/misc/DefinitionsInHeadersCheck.h
+include/clang-tidy/misc/HeaderIncludeCycleCheck.h
+include/clang-tidy/misc/IncludeCleanerCheck.h
 include/clang-tidy/misc/MisleadingBidirectional.h
 include/clang-tidy/misc/MisleadingIdentifier.h
 include/clang-tidy/misc/MisplacedConstCheck.h
@@ -252,6 +266,7 @@ include/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.h
 include/clang-tidy/modernize/ReplaceRandomShuffleCheck.h
 include/clang-tidy/modernize/ReturnBracedInitListCheck.h
 include/clang-tidy/modernize/ShrinkToFitCheck.h
+include/clang-tidy/modernize/TypeTraitsCheck.h
 include/clang-tidy/modernize/UnaryStaticAssertCheck.h
 include/clang-tidy/modernize/UseAutoCheck.h
 include/clang-tidy/modernize/UseBoolLiteralsCheck.h
@@ -263,6 +278,7 @@ include/clang-tidy/modernize/UseNodiscardCheck.h
 include/clang-tidy/modernize/UseNoexceptCheck.h
 include/clang-tidy/modernize/UseNullptrCheck.h
 include/clang-tidy/modernize/UseOverrideCheck.h
+include/clang-tidy/modernize/UseStdPrintCheck.h
 include/clang-tidy/modernize/UseTrailingReturnTypeCheck.h
 include/clang-tidy/modernize/UseTransparentFunctorsCheck.h
 include/clang-tidy/modernize/UseUncaughtExceptionsCheck.h
@@ -280,6 +296,7 @@ include/clang-tidy/objc/PropertyDeclarationCheck.h
 include/clang-tidy/objc/SuperSelfCheck.h
 include/clang-tidy/openmp/ExceptionEscapeCheck.h
 include/clang-tidy/openmp/UseDefaultNoneCheck.h
+include/clang-tidy/performance/AvoidEndlCheck.h
 include/clang-tidy/performance/FasterStringFindCheck.h
 include/clang-tidy/performance/ForRangeCopyCheck.h
 include/clang-tidy/performance/ImplicitConversionInLoopCheck.h
@@ -290,7 +307,10 @@ include/clang-tidy/performance/MoveConstArgCheck.h
 include/clang-tidy/performance/MoveConstructorInitCheck.h
 include/clang-tidy/performance/NoAutomaticMoveCheck.h
 include/clang-tidy/performance/NoIntToPtrCheck.h
+include/clang-tidy/performance/NoexceptDestructorCheck.h
+include/clang-tidy/performance/NoexceptFunctionBaseCheck.h
 include/clang-tidy/performance/NoexceptMoveConstructorCheck.h
+include/clang-tidy/performance/NoexceptSwapCheck.h
 include/clang-tidy/performance/TriviallyDestructibleCheck.h
 include/clang-tidy/performance/TypePromotionInMathFnCheck.h
 include/clang-tidy/performance/UnnecessaryCopyInitialization.h
@@ -300,6 +320,7 @@ include/clang-tidy/portability/RestrictSystemIncludesCheck.h
 include/clang-tidy/portability/SIMDIntrinsicsCheck.h
 include/clang-tidy/portability/StdAllocatorConstCheck.h
 include/clang-tidy/readability/AvoidConstParamsInDecls.h
+include/clang-tidy/readability/AvoidUnconditionalPreprocessorIfCheck.h
 include/clang-tidy/readability/BracesAroundStatementsCheck.h
 include/clang-tidy/readability/ConstReturnTypeCheck.h
 include/clang-tidy/readability/ContainerContainsCheck.h
@@ -323,6 +344,7 @@ include/clang-tidy/readability/MisplacedArrayIndexCheck.h
 include/clang-tidy/readability/NamedParameterCheck.h
 include/clang-tidy/readability/NamespaceCommentCheck.h
 include/clang-tidy/readability/NonConstParameterCheck.h
+include/clang-tidy/readability/OperatorsRepresentationCheck.h
 include/clang-tidy/readability/QualifiedAutoCheck.h
 include/clang-tidy/readability/RedundantAccessSpecifiersCheck.h
 include/clang-tidy/readability/RedundantControlFlowCheck.h
@@ -347,9 +369,11 @@ include/clang-tidy/utils/ASTUtils.h
 include/clang-tidy/utils/Aliasing.h
 include/clang-tidy/utils/DeclRefExprUtils.h
 include/clang-tidy/utils/ExceptionAnalyzer.h
+include/clang-tidy/utils/ExceptionSpecAnalyzer.h
 include/clang-tidy/utils/ExprSequence.h
 include/clang-tidy/utils/FileExtensionsUtils.h
 include/clang-tidy/utils/FixItHintUtils.h
+include/clang-tidy/utils/FormatStringConverter.h
 include/clang-tidy/utils/HeaderGuard.h
 include/clang-tidy/utils/IncludeInserter.h
 include/clang-tidy/utils/IncludeSorter.h
@@ -405,6 +429,7 @@ lib/libclangTidyPortabilityModule.a
 lib/libclangTidyReadabilityModule.a
 lib/libclangTidyUtils.a
 lib/libclangTidyZirconModule.a
+lib/libclangdMain.a
 lib/libclangdRemoteIndex.a
 lib/libclangdSupport.a
 lib/libfindAllSymbols.a
diff --git a/clang-tools-extra/distinfo b/clang-tools-extra/distinfo
index b38f25458a..ebe63144e9 100644
--- a/clang-tools-extra/distinfo
+++ b/clang-tools-extra/distinfo
@@ -1,11 +1,11 @@
 $NetBSD: distinfo,v 1.17 2023/01/12 19:32:53 adam Exp $
 
-BLAKE2s (clang-16.0.6.src.tar.xz) = 528647ba7c3b87280ceb8c4a46eecf514600bad27cd1b71ee5ab32a28f8c5069
-SHA512 (clang-16.0.6.src.tar.xz) = 92c65b882e1504f4a9b8a3f6b8a24061505987aaacc8bb835115b4e4d74ac3a8c98343a308567b07c6b42bb99877c300bce3c4a5a25ada77abe65606aa25188d
-Size (clang-16.0.6.src.tar.xz) = 20356652 bytes
-BLAKE2s (clang-tools-extra-16.0.6.src.tar.xz) = f819493b015d8fc14400d723827c823c364f560854fb67295dc0920169929884
-SHA512 (clang-tools-extra-16.0.6.src.tar.xz) = ec1a0834f223e393d24c11586b744167a41cea6c39d1bb18c433d2fb736501950fdff42f1eb0caa13c75bcb8ef9ac309eb0687644307698ec0420ff8a769c710
-Size (clang-tools-extra-16.0.6.src.tar.xz) = 3151928 bytes
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
+BLAKE2s (clang-17.0.3.src.tar.xz) = ffc076c607284396e1affed7079ac1d867504ebe4541a6fb8013928020c368fe
+SHA512 (clang-17.0.3.src.tar.xz) = b2705a57b5992f2891fcd62167b1962355234a12de3d39f33df2d58ac1f74b613ff96d1578e9ee819a72fbb2df15f9c7b9a677419901f6a5159945dae0f9abf4
+Size (clang-17.0.3.src.tar.xz) = 21575716 bytes
+BLAKE2s (clang-tools-extra-17.0.3.src.tar.xz) = ae04dfa741c423bc7cf7a2554b3e877193234ead913a5edf6e87128c20e0fc73
+SHA512 (clang-tools-extra-17.0.3.src.tar.xz) = 86e9ea6f287a90411fe71cafa0098777916f0e57dada2d505f5f33195c1d8184d250af3af0d15eaa98ccb7ba858466d85f8569c742076a389cca1b91b9c61930
+Size (clang-tools-extra-17.0.3.src.tar.xz) = 3269936 bytes
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
diff --git a/clang/Makefile.common b/clang/Makefile.common
index 60c389ee17..2c1cf99c38 100644
--- a/clang/Makefile.common
+++ b/clang/Makefile.common
@@ -128,7 +128,7 @@ CMAKE_ARGS+=    -DCLANG_DEFAULT_CXX_STDLIB:STRING="libc++"
 LLVM_MAJOR=	${PKGVERSION_NOREV:C/^([0-9]+\.[0-9]+)\..*$/\1/}
 PLIST_SUBST+=	LLVM_MAJOR=${LLVM_MAJOR}
 
-PKGVERSION_MAJOR=	16
+PKGVERSION_MAJOR=	17
 PLIST_SUBST+=		PKGVERSION_MAJOR=${PKGVERSION_MAJOR}
 
 PLIST_VARS+=	notdylib
diff --git a/clang/PLIST b/clang/PLIST
index 7f5ab09263..57d6c1c767 100644
--- a/clang/PLIST
+++ b/clang/PLIST
@@ -197,6 +197,7 @@ include/clang/Analysis/Analyses/CalledOnceCheck.h
 include/clang/Analysis/Analyses/Consumed.h
 include/clang/Analysis/Analyses/Dominators.h
 include/clang/Analysis/Analyses/ExprMutationAnalyzer.h
+include/clang/Analysis/Analyses/IntervalPartition.h
 include/clang/Analysis/Analyses/LiveVariables.h
 include/clang/Analysis/Analyses/PostOrderCFGView.h
 include/clang/Analysis/Analyses/ReachableCode.h
@@ -221,6 +222,7 @@ include/clang/Analysis/CodeInjector.h
 include/clang/Analysis/ConstructionContext.h
 include/clang/Analysis/DomainSpecific/CocoaConventions.h
 include/clang/Analysis/DomainSpecific/ObjCNoReturn.h
+include/clang/Analysis/FlowSensitive/Arena.h
 include/clang/Analysis/FlowSensitive/CFGMatchSwitch.h
 include/clang/Analysis/FlowSensitive/ControlFlowContext.h
 include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
@@ -230,12 +232,15 @@ include/clang/Analysis/FlowSensitive/DataflowLattice.h
 include/clang/Analysis/FlowSensitive/DataflowValues.h
 include/clang/Analysis/FlowSensitive/DataflowWorklist.h
 include/clang/Analysis/FlowSensitive/DebugSupport.h
+include/clang/Analysis/FlowSensitive/Formula.h
+include/clang/Analysis/FlowSensitive/Logger.h
 include/clang/Analysis/FlowSensitive/MapLattice.h
 include/clang/Analysis/FlowSensitive/MatchSwitch.h
 include/clang/Analysis/FlowSensitive/Models/ChromiumCheckModel.h
 include/clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h
 include/clang/Analysis/FlowSensitive/NoopAnalysis.h
 include/clang/Analysis/FlowSensitive/NoopLattice.h
+include/clang/Analysis/FlowSensitive/RecordOps.h
 include/clang/Analysis/FlowSensitive/Solver.h
 include/clang/Analysis/FlowSensitive/StorageLocation.h
 include/clang/Analysis/FlowSensitive/Transfer.h
@@ -259,6 +264,7 @@ include/clang/Basic/AttrKinds.h
 include/clang/Basic/AttrList.inc
 include/clang/Basic/AttrSubMatchRulesList.inc
 include/clang/Basic/AttrSubjectMatchRules.h
+include/clang/Basic/AttrTokenKinds.inc
 include/clang/Basic/AttributeCommonInfo.h
 include/clang/Basic/Attributes.h
 include/clang/Basic/BitmaskEnum.h
@@ -281,6 +287,7 @@ include/clang/Basic/BuiltinsNVPTX.def
 include/clang/Basic/BuiltinsPPC.def
 include/clang/Basic/BuiltinsRISCV.def
 include/clang/Basic/BuiltinsRISCVVector.def
+include/clang/Basic/BuiltinsSME.def
 include/clang/Basic/BuiltinsSVE.def
 include/clang/Basic/BuiltinsSystemZ.def
 include/clang/Basic/BuiltinsVE.def
@@ -298,7 +305,6 @@ include/clang/Basic/CommentOptions.h
 include/clang/Basic/Cuda.h
 include/clang/Basic/CustomizableOptional.h
 include/clang/Basic/DarwinSDKInfo.h
-include/clang/Basic/DebugInfoOptions.h
 include/clang/Basic/Diagnostic.h
 include/clang/Basic/DiagnosticAST.h
 include/clang/Basic/DiagnosticASTKinds.inc
@@ -366,6 +372,7 @@ include/clang/Basic/OperatorKinds.def
 include/clang/Basic/OperatorKinds.h
 include/clang/Basic/OperatorPrecedence.h
 include/clang/Basic/PPCTypes.def
+include/clang/Basic/ParsedAttrInfo.h
 include/clang/Basic/PartialDiagnostic.h
 include/clang/Basic/PlistSupport.h
 include/clang/Basic/PragmaKinds.h
@@ -397,6 +404,7 @@ include/clang/Basic/TypeTraits.h
 include/clang/Basic/Version.h
 include/clang/Basic/Version.inc
 include/clang/Basic/Visibility.h
+include/clang/Basic/WebAssemblyReferenceTypes.def
 include/clang/Basic/XRayInstr.h
 include/clang/Basic/XRayLists.h
 include/clang/Basic/arm_cde_builtin_aliases.inc
@@ -409,10 +417,16 @@ include/clang/Basic/arm_mve_builtin_cg.inc
 include/clang/Basic/arm_mve_builtin_sema.inc
 include/clang/Basic/arm_mve_builtins.inc
 include/clang/Basic/arm_neon.inc
+include/clang/Basic/arm_sme_builtin_cg.inc
+include/clang/Basic/arm_sme_builtins.inc
+include/clang/Basic/arm_sme_sema_rangechecks.inc
 include/clang/Basic/arm_sve_builtin_cg.inc
 include/clang/Basic/arm_sve_builtins.inc
 include/clang/Basic/arm_sve_sema_rangechecks.inc
 include/clang/Basic/arm_sve_typeflags.inc
+include/clang/Basic/riscv_sifive_vector_builtin_cg.inc
+include/clang/Basic/riscv_sifive_vector_builtin_sema.inc
+include/clang/Basic/riscv_sifive_vector_builtins.inc
 include/clang/Basic/riscv_vector_builtin_cg.inc
 include/clang/Basic/riscv_vector_builtin_sema.inc
 include/clang/Basic/riscv_vector_builtins.inc
@@ -437,6 +451,7 @@ include/clang/Driver/DriverDiagnostic.h
 include/clang/Driver/InputInfo.h
 include/clang/Driver/Job.h
 include/clang/Driver/Multilib.h
+include/clang/Driver/MultilibBuilder.h
 include/clang/Driver/OffloadBundler.h
 include/clang/Driver/OptionUtils.h
 include/clang/Driver/Options.h
@@ -458,10 +473,12 @@ include/clang/ExtractAPI/API.h
 include/clang/ExtractAPI/APIIgnoresList.h
 include/clang/ExtractAPI/AvailabilityInfo.h
 include/clang/ExtractAPI/DeclarationFragments.h
+include/clang/ExtractAPI/ExtractAPIActionBase.h
 include/clang/ExtractAPI/ExtractAPIVisitor.h
 include/clang/ExtractAPI/FrontendActions.h
 include/clang/ExtractAPI/Serialization/SerializerBase.h
 include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
+include/clang/ExtractAPI/TypedefUnderlyingTypeResolver.h
 include/clang/Format/Format.h
 include/clang/Frontend/ASTConsumers.h
 include/clang/Frontend/ASTUnit.h
@@ -504,6 +521,7 @@ include/clang/Index/USRGeneration.h
 include/clang/IndexSerialization/SerializablePathCollection.h
 include/clang/Interpreter/Interpreter.h
 include/clang/Interpreter/PartialTranslationUnit.h
+include/clang/Interpreter/Value.h
 include/clang/Lex/CodeCompletionHandler.h
 include/clang/Lex/DependencyDirectivesScanner.h
 include/clang/Lex/DirectoryLookup.h
@@ -562,6 +580,7 @@ include/clang/Sema/CodeCompleteOptions.h
 include/clang/Sema/DeclSpec.h
 include/clang/Sema/DelayedDiagnostic.h
 include/clang/Sema/Designator.h
+include/clang/Sema/EnterExpressionEvaluationContext.h
 include/clang/Sema/ExternalSemaSource.h
 include/clang/Sema/HLSLExternalSemaSource.h
 include/clang/Sema/IdentifierResolver.h
@@ -763,18 +782,20 @@ lib/clang/${PKGVERSION_MAJOR}/include/__wmmintrin_pclmul.h
 lib/clang/${PKGVERSION_MAJOR}/include/adxintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/altivec.h
 lib/clang/${PKGVERSION_MAJOR}/include/ammintrin.h
+lib/clang/${PKGVERSION_MAJOR}/include/amxcomplexintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/amxfp16intrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/amxintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/arm64intr.h
 lib/clang/${PKGVERSION_MAJOR}/include/arm_acle.h
-${PLIST.ARM}lib/clang/${PKGVERSION_MAJOR}/include/arm_bf16.h
-${PLIST.ARM}lib/clang/${PKGVERSION_MAJOR}/include/arm_cde.h
+lib/clang/${PKGVERSION_MAJOR}/include/arm_bf16.h
+lib/clang/${PKGVERSION_MAJOR}/include/arm_cde.h
 lib/clang/${PKGVERSION_MAJOR}/include/arm_cmse.h
-${PLIST.ARM}lib/clang/${PKGVERSION_MAJOR}/include/arm_fp16.h
-${PLIST.ARM}lib/clang/${PKGVERSION_MAJOR}/include/arm_mve.h
-${PLIST.ARM}lib/clang/${PKGVERSION_MAJOR}/include/arm_neon.h
+lib/clang/${PKGVERSION_MAJOR}/include/arm_fp16.h
+lib/clang/${PKGVERSION_MAJOR}/include/arm_mve.h
+lib/clang/${PKGVERSION_MAJOR}/include/arm_neon.h
 lib/clang/${PKGVERSION_MAJOR}/include/arm_neon_sve_bridge.h
-${PLIST.ARM}lib/clang/${PKGVERSION_MAJOR}/include/arm_sve.h
+lib/clang/${PKGVERSION_MAJOR}/include/arm_sme_draft_spec_subject_to_change.h
+lib/clang/${PKGVERSION_MAJOR}/include/arm_sve.h
 lib/clang/${PKGVERSION_MAJOR}/include/armintr.h
 lib/clang/${PKGVERSION_MAJOR}/include/avx2intrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/avx512bf16intrin.h
@@ -808,8 +829,9 @@ lib/clang/${PKGVERSION_MAJOR}/include/avx512vpopcntdqvlintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/avxifmaintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/avxintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/avxneconvertintrin.h
-lib/clang/${PKGVERSION_MAJOR}/include/avxvnniintrin.h
+lib/clang/${PKGVERSION_MAJOR}/include/avxvnniint16intrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/avxvnniint8intrin.h
+lib/clang/${PKGVERSION_MAJOR}/include/avxvnniintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/bmi2intrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/bmiintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/builtins.h
@@ -823,8 +845,11 @@ lib/clang/${PKGVERSION_MAJOR}/include/cmpccxaddintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/cpuid.h
 lib/clang/${PKGVERSION_MAJOR}/include/crc32intrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/cuda_wrappers/algorithm
-lib/clang/${PKGVERSION_MAJOR}/include/cuda_wrappers/complex
+lib/clang/${PKGVERSION_MAJOR}/include/cuda_wrappers/bits/basic_string.h
+lib/clang/${PKGVERSION_MAJOR}/include/cuda_wrappers/bits/basic_string.tcc
+lib/clang/${PKGVERSION_MAJOR}/include/cuda_wrappers/bits/shared_ptr_base.h
 lib/clang/${PKGVERSION_MAJOR}/include/cuda_wrappers/cmath
+lib/clang/${PKGVERSION_MAJOR}/include/cuda_wrappers/complex
 lib/clang/${PKGVERSION_MAJOR}/include/cuda_wrappers/new
 lib/clang/${PKGVERSION_MAJOR}/include/emmintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/enqcmdintrin.h
@@ -850,6 +875,11 @@ lib/clang/${PKGVERSION_MAJOR}/include/iso646.h
 lib/clang/${PKGVERSION_MAJOR}/include/keylockerintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/larchintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/limits.h
+lib/clang/${PKGVERSION_MAJOR}/include/llvm_libc_wrappers/ctype.h
+lib/clang/${PKGVERSION_MAJOR}/include/llvm_libc_wrappers/inttypes.h
+lib/clang/${PKGVERSION_MAJOR}/include/llvm_libc_wrappers/stdio.h
+lib/clang/${PKGVERSION_MAJOR}/include/llvm_libc_wrappers/stdlib.h
+lib/clang/${PKGVERSION_MAJOR}/include/llvm_libc_wrappers/string.h
 lib/clang/${PKGVERSION_MAJOR}/include/lwpintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/lzcntintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/mm3dnow.h
@@ -891,12 +921,17 @@ lib/clang/${PKGVERSION_MAJOR}/include/ptwriteintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/raointintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/rdpruintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/rdseedintrin.h
-${PLIST.RISCV}lib/clang/${PKGVERSION_MAJOR}/include/riscv_vector.h
+lib/clang/${PKGVERSION_MAJOR}/include/riscv_ntlh.h
+lib/clang/${PKGVERSION_MAJOR}/include/riscv_vector.h
 lib/clang/${PKGVERSION_MAJOR}/include/rtmintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/s390intrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/serializeintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/sgxintrin.h
+lib/clang/${PKGVERSION_MAJOR}/include/sha512intrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/shaintrin.h
+lib/clang/${PKGVERSION_MAJOR}/include/sifive_vector.h
+lib/clang/${PKGVERSION_MAJOR}/include/sm3intrin.h
+lib/clang/${PKGVERSION_MAJOR}/include/sm4intrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/smmintrin.h
 lib/clang/${PKGVERSION_MAJOR}/include/stdalign.h
 lib/clang/${PKGVERSION_MAJOR}/include/stdarg.h
@@ -940,8 +975,8 @@ lib/cmake/clang/ClangTargets.cmake
 lib/libclang-cpp.${SOEXT}
 ${PLIST.notdylib}lib/libclang-cpp.so.${PKGVERSION_MAJOR}
 lib/libclang.${SOEXT}
-${PLIST.notdylib}lib/libclang.${SOEXT}.${PKGVERSION}
 ${PLIST.notdylib}lib/libclang.${SOEXT}.${PKGVERSION_MAJOR}
+${PLIST.notdylib}lib/libclang.${SOEXT}.${PKGVERSION}
 lib/libclangAPINotes.a
 lib/libclangARCMigrate.a
 lib/libclangAST.a
diff --git a/clang/buildlink3.mk b/clang/buildlink3.mk
index ebf1e15559..2aa541c3b8 100644
--- a/clang/buildlink3.mk
+++ b/clang/buildlink3.mk
@@ -14,7 +14,7 @@ BUILDLINK_FILES.clang+=		bin/analyze-build
 BUILDLINK_FILES.clang+=		bin/c-index-test
 BUILDLINK_FILES.clang+=		bin/clang
 BUILDLINK_FILES.clang+=		bin/clang++
-BUILDLINK_FILES.clang+=		bin/clang-16
+BUILDLINK_FILES.clang+=		bin/clang-17
 BUILDLINK_FILES.clang+=		bin/clang-check
 BUILDLINK_FILES.clang+=		bin/clang-cl
 BUILDLINK_FILES.clang+=		bin/clang-cpp
diff --git a/clang/distinfo b/clang/distinfo
index 23df3cb64c..f6f1c81d94 100644
--- a/clang/distinfo
+++ b/clang/distinfo
@@ -1,16 +1,16 @@
 $NetBSD: distinfo,v 1.80 2023/01/12 19:32:53 adam Exp $
 
-BLAKE2s (clang-16.0.6.src.tar.xz) = 528647ba7c3b87280ceb8c4a46eecf514600bad27cd1b71ee5ab32a28f8c5069
-SHA512 (clang-16.0.6.src.tar.xz) = 92c65b882e1504f4a9b8a3f6b8a24061505987aaacc8bb835115b4e4d74ac3a8c98343a308567b07c6b42bb99877c300bce3c4a5a25ada77abe65606aa25188d
-Size (clang-16.0.6.src.tar.xz) = 20356652 bytes
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-SHA1 (patch-lib_Basic_Targets_OSTargets.h) = 02533d1de2c92a431d9c5d4567f348deff056b99
+BLAKE2s (clang-17.0.3.src.tar.xz) = ffc076c607284396e1affed7079ac1d867504ebe4541a6fb8013928020c368fe
+SHA512 (clang-17.0.3.src.tar.xz) = b2705a57b5992f2891fcd62167b1962355234a12de3d39f33df2d58ac1f74b613ff96d1578e9ee819a72fbb2df15f9c7b9a677419901f6a5159945dae0f9abf4
+Size (clang-17.0.3.src.tar.xz) = 21575716 bytes
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+SHA1 (patch-lib_Basic_Targets_OSTargets.h) = b17f58142504b340869ac9d9e2702bb126d5d189
 SHA1 (patch-lib_Driver_ToolChain.cpp) = 33a8e346a72893140fde42245e4b108f3a9b9e3e
-SHA1 (patch-lib_Driver_ToolChains_Solaris.cpp) = 39d72a7f6cb9d0780c9fb79de6d032f320cccce3
+SHA1 (patch-lib_Driver_ToolChains_Solaris.cpp) = abbd9df50d035079da5b6bde48baec9ed8ad4b1c
 SHA1 (patch-lib_Driver_ToolChains_Solaris.h) = 22d1ddef34b8df3cc29c4632108d45904797aff3
 SHA1 (patch-lib_Interpreter_IncrementalParser.cpp) = c5ace959ce566478316447b1621e9bfd9a537cc5
-SHA1 (patch-lib_Lex_InitHeaderSearch.cpp) = 4f0164da57d66f42c86a812e9b6703712ef7391c
+SHA1 (patch-lib_Lex_InitHeaderSearch.cpp) = d37f5f2fff2fb358911875f73f5bf48446940436
 SHA1 (patch-tools_clang-shlib_CMakeLists.txt) = 2dce9cfc1e114a79fab457211eea1ee93c2198f4
 SHA1 (patch-tools_libclang_CMakeLists.txt) = 7e5655fc753ef20c8b08d1de438b26dcd3434525
diff --git a/clang/patches/patch-lib_Basic_Targets_OSTargets.h b/clang/patches/patch-lib_Basic_Targets_OSTargets.h
index 97a06a1fdc..6a8f559309 100644
--- a/clang/patches/patch-lib_Basic_Targets_OSTargets.h
+++ b/clang/patches/patch-lib_Basic_Targets_OSTargets.h
@@ -4,10 +4,10 @@ Sync SunOS default defines with a working reality.
 NetBSD __float128, needed to build anything with base libstdc++
 which assumes __float128.
 
---- lib/Basic/Targets/OSTargets.h.orig	2019-08-01 08:49:35.000000000 +0000
+--- lib/Basic/Targets/OSTargets.h.orig	2023-10-03 06:37:35.000000000 +0000
 +++ lib/Basic/Targets/OSTargets.h
-@@ -436,12 +436,22 @@ protected:
-     Builder.defineMacro("__ELF__");
+@@ -425,12 +425,22 @@ protected:
+     Builder.defineMacro("__unix__");
      if (Opts.POSIXThreads)
        Builder.defineMacro("_REENTRANT");
 +    if (this->HasFloat128)
@@ -29,8 +29,8 @@ which assumes __float128.
    }
  };
  
-@@ -610,22 +620,15 @@ protected:
-     Builder.defineMacro("__ELF__");
+@@ -628,22 +638,15 @@ protected:
+     DefineStd(Builder, "unix", Opts);
      Builder.defineMacro("__svr4__");
      Builder.defineMacro("__SVR4");
 -    // Solaris headers require _XOPEN_SOURCE to be set to 600 for C99 and
diff --git a/clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp b/clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp
index 0d91733697..626d15f3a6 100644
--- a/clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp
+++ b/clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp
@@ -7,15 +7,14 @@ Don't specify --dynamic-linker, makes it impossible for the user to use -Wl,-r
 Ensure we reset to -zdefaultextract prior to adding compiler-rt.
 Test removing -Bdynamic for golang.
 
---- lib/Driver/ToolChains/Solaris.cpp.orig	2023-04-05 05:36:38.000000000 +0200
-+++ lib/Driver/ToolChains/Solaris.cpp	2023-04-29 00:04:57.086200010 +0200
-@@ -52,8 +52,28 @@
-                                    const InputInfoList &Inputs,
-                                    const ArgList &Args,
+--- lib/Driver/ToolChains/Solaris.cpp.orig	2023-10-03 06:37:35.000000000 +0000
++++ lib/Driver/ToolChains/Solaris.cpp
+@@ -66,6 +66,26 @@ void solaris::Linker::ConstructJob(Compi
                                     const char *LinkingOutput) const {
-+  const Driver &D = getToolChain().getDriver();
+   const bool IsPIE = getPIE(Args, getToolChain());
    ArgStringList CmdArgs;
- 
++  const Driver &D = getToolChain().getDriver();
++
 +  // XXX: assumes pkgsrc layout
 +  std::string LibPath = llvm::sys::path::parent_path(D.getInstalledDir()).str();
 +  LibPath += "/lib/";
@@ -34,11 +33,10 @@ Test removing -Bdynamic for golang.
 +  default:
 +    llvm_unreachable("Unsupported architecture");
 +  }
-+
+ 
    // Demangle C++ names in errors
    CmdArgs.push_back("-C");
- 
-@@ -66,7 +86,6 @@
+@@ -84,7 +104,6 @@ void solaris::Linker::ConstructJob(Compi
      CmdArgs.push_back("-Bstatic");
      CmdArgs.push_back("-dn");
    } else {
@@ -46,7 +44,7 @@ Test removing -Bdynamic for golang.
      if (Args.hasArg(options::OPT_shared)) {
        CmdArgs.push_back("-shared");
      }
-@@ -88,9 +107,9 @@
+@@ -106,9 +125,9 @@ void solaris::Linker::ConstructJob(Compi
                     options::OPT_r)) {
      if (!Args.hasArg(options::OPT_shared))
        CmdArgs.push_back(
@@ -58,7 +56,7 @@ Test removing -Bdynamic for golang.
  
      const Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi);
      bool HaveAnsi = false;
-@@ -105,16 +124,14 @@
+@@ -123,7 +142,7 @@ void solaris::Linker::ConstructJob(Compi
      // Use values-Xc.o for -ansi, -std=c*, -std=iso9899:199409.
      if (HaveAnsi || (LangStd && !LangStd->isGNUMode()))
        values_X = "values-Xc.o";
@@ -67,17 +65,7 @@ Test removing -Bdynamic for golang.
  
      const char *values_xpg = "values-xpg6.o";
      // Use values-xpg4.o for -std=c90, -std=gnu90, -std=iso9899:199409.
-     if (LangStd && LangStd->getLanguage() == Language::C && !LangStd->isC99())
-       values_xpg = "values-xpg4.o";
-     CmdArgs.push_back(
--        Args.MakeArgString(getToolChain().GetFilePath(values_xpg)));
--    CmdArgs.push_back(
--        Args.MakeArgString(getToolChain().GetFilePath("crtbegin.o")));
-+        Args.MakeArgString(SysPath + values_xpg));
-     // Add crtfastmath.o if available and fast math is enabled.
-     getToolChain().addFastMathRuntimeIfAvailable(Args, CmdArgs);
-   }
-@@ -129,15 +146,6 @@
+@@ -152,15 +171,6 @@ void solaris::Linker::ConstructJob(Compi
  
    if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs,
                     options::OPT_r)) {
@@ -93,7 +81,7 @@ Test removing -Bdynamic for golang.
      // LLVM support for atomics on 32-bit SPARC V8+ is incomplete, so
      // forcibly link with libatomic as a workaround.
      if (getToolChain().getTriple().getArch() == llvm::Triple::sparc) {
-@@ -145,12 +153,18 @@
+@@ -168,12 +178,19 @@ void solaris::Linker::ConstructJob(Compi
        CmdArgs.push_back("-latomic");
        CmdArgs.push_back(getAsNeededOption(getToolChain(), false));
      }
@@ -101,6 +89,7 @@ Test removing -Bdynamic for golang.
 -    CmdArgs.push_back("-lc");
 -    if (!Args.hasArg(options::OPT_shared)) {
 -      CmdArgs.push_back("-lgcc");
++    
 +    // This specifically uses -Wl to avoid CMake parsing it and trying to
 +    // feed "-zdefaultextract" back into clang, which doesn't support the
 +    // non-space version.
@@ -113,17 +102,21 @@ Test removing -Bdynamic for golang.
        CmdArgs.push_back("-lm");
      }
 +    CmdArgs.push_back("-lc");
+     const SanitizerArgs &SA = getToolChain().getSanitizerArgs(Args);
      if (NeedsSanitizerDeps) {
        linkSanitizerRuntimeDeps(getToolChain(), CmdArgs);
- 
-@@ -165,13 +179,7 @@
-     }
+@@ -192,17 +209,7 @@ void solaris::Linker::ConstructJob(Compi
+       CmdArgs.push_back("-znow");
    }
  
 -  if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles,
 -                   options::OPT_r)) {
--    CmdArgs.push_back(
--        Args.MakeArgString(getToolChain().GetFilePath("crtend.o")));
+-    if (Args.hasArg(options::OPT_shared) || IsPIE)
+-      CmdArgs.push_back(
+-          Args.MakeArgString(getToolChain().GetFilePath("crtendS.o")));
+-    else
+-      CmdArgs.push_back(
+-          Args.MakeArgString(getToolChain().GetFilePath("crtend.o")));
 -    CmdArgs.push_back(
 -        Args.MakeArgString(getToolChain().GetFilePath("crtn.o")));
 -  }
@@ -131,7 +124,7 @@ Test removing -Bdynamic for golang.
  
    getToolChain().addProfileRTLibs(Args, CmdArgs);
  
-@@ -201,26 +209,9 @@
+@@ -232,26 +239,9 @@ Solaris::Solaris(const Driver &D, const
                   const ArgList &Args)
      : Generic_ELF(D, Triple, Args) {
  
@@ -161,7 +154,7 @@ Test removing -Bdynamic for golang.
  }
  
  SanitizerMask Solaris::getSupportedSanitizers() const {
-@@ -245,6 +236,31 @@
+@@ -273,6 +263,31 @@ Tool *Solaris::buildAssembler() const {
  
  Tool *Solaris::buildLinker() const { return new tools::solaris::Linker(*this); }
  
@@ -193,7 +186,7 @@ Test removing -Bdynamic for golang.
  void Solaris::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
                                          ArgStringList &CC1Args) const {
    const Driver &D = getDriver();
-@@ -277,38 +293,20 @@
+@@ -305,38 +320,20 @@ void Solaris::AddClangSystemIncludeArgs(
      return;
    }
  
diff --git a/clang/patches/patch-lib_Lex_InitHeaderSearch.cpp b/clang/patches/patch-lib_Lex_InitHeaderSearch.cpp
index 6d28a4ca49..fe04f28dc3 100644
--- a/clang/patches/patch-lib_Lex_InitHeaderSearch.cpp
+++ b/clang/patches/patch-lib_Lex_InitHeaderSearch.cpp
@@ -3,11 +3,11 @@ $NetBSD: patch-lib_Lex_InitHeaderSearch.cpp,v 1.2 2022/11/14 18:44:05 adam Exp $
 Don't add /usr/local/include by default on Solaris.
 was: patch-lib_Frontend_InitHeaderSearch.cpp
 
---- lib/Lex/InitHeaderSearch.cpp.orig	2023-04-05 05:36:38.000000000 +0200
-+++ lib/Lex/InitHeaderSearch.cpp	2023-04-28 23:52:32.313523683 +0200
-@@ -236,6 +236,7 @@
-     case llvm::Triple::PS4:
-     case llvm::Triple::PS5:
+--- lib/Lex/InitHeaderSearch.cpp.orig	2023-10-03 06:37:35.000000000 +0000
++++ lib/Lex/InitHeaderSearch.cpp
+@@ -234,6 +234,7 @@ void InitHeaderSearch::AddDefaultCInclud
+     case llvm::Triple::CloudABI:
+     case llvm::Triple::NaCl:
      case llvm::Triple::ELFIAMCU:
 +    case llvm::Triple::Solaris:
        break;
diff --git a/compiler-rt/distinfo b/compiler-rt/distinfo
index 5ffebf2f3d..f369fb33e7 100644
--- a/compiler-rt/distinfo
+++ b/compiler-rt/distinfo
@@ -1,12 +1,13 @@
 $NetBSD: distinfo,v 1.23 2023/03/03 09:53:14 wiz Exp $
 
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-BLAKE2s (compiler-rt-16.0.6.src.tar.xz) = 347c0c1e7d13ab026bc18d21a892047cf75039f940f58d32a2b365f51f5f3aa6
-SHA512 (compiler-rt-16.0.6.src.tar.xz) = 852e2105facb12ea0943aa24e0c220f76671ad76dfe7d07b8164c3a1d8360670ca565a2b6dd590722b974e16a2adf3c466fdabdfd3bb3ebbd005162c8ac4406c
-Size (compiler-rt-16.0.6.src.tar.xz) = 2358240 bytes
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+BLAKE2s (compiler-rt-17.0.3.src.tar.xz) = fbde7a68b154f52ee613d67c9f0a5b72b4c3c1170d0859c95e23361deb098bdf
+SHA512 (compiler-rt-17.0.3.src.tar.xz) = 514f7c6827882c68b5e6ac0970b9cfe07786911d4939668ce0a3d96ad2482a9b03581fe3df68826fe900dae1044a341de2d7b131865d7fdd15485405396d5fe5
+Size (compiler-rt-17.0.3.src.tar.xz) = 2419124 bytes
+BLAKE2s (runtimes-17.0.3.src.tar.xz) = 213f23b58df3b54da5b3445edee29734519bcf8508b294e981dfd70348bfeb35
+SHA512 (runtimes-17.0.3.src.tar.xz) = 7c00e8c8b9f3eeeb07f7c15b076ed120b968728b98699952a3afb6102133e1106ee2e2a90062056fd2d8e1e038648cb22e1ef676abe060cc2e049d50df8730cc
+Size (runtimes-17.0.3.src.tar.xz) = 6244 bytes
 SHA1 (patch-CMakeLists.txt) = f8b0a0ad43481ec0c2923ec19c3c4f2ce81a4c82
 SHA1 (patch-cmake_config-ix.cmake) = 40ee86393c0f9e26eeaa493c5312d2cabf4c2a58
-SHA1 (patch-lib_asan_CMakeLists.txt) = f91335b88c8c28a25d7dfada85769f799660f82a
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp) = 708b4def299a1cc47fca3c48f70745f8528c0fb8
diff --git a/compiler-rt/patches/patch-lib_asan_CMakeLists.txt b/compiler-rt/patches/patch-lib_asan_CMakeLists.txt
deleted file mode 100644
index eea1ec3303..0000000000
--- a/compiler-rt/patches/patch-lib_asan_CMakeLists.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-lib_asan_CMakeLists.txt,v 1.1 2022/08/12 08:58:41 pin Exp $
-
-Only use optimized asan code on Linux.
-https://github.com/llvm/llvm-project/issues/57086
-
---- lib/asan/CMakeLists.txt.orig	2022-06-22 16:46:24.000000000 +0000
-+++ lib/asan/CMakeLists.txt
-@@ -46,7 +46,7 @@ set(ASAN_STATIC_SOURCES
-   asan_rtl_static.cpp
-   )
- 
--if (NOT WIN32 AND NOT APPLE)
-+if (LINUX)
-   list(APPEND ASAN_STATIC_SOURCES
-     asan_rtl_x86_64.S
-   )
diff --git a/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp b/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp
deleted file mode 100644
index 25ba372c0d..0000000000
--- a/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp
+++ /dev/null
@@ -1,75 +0,0 @@
-$NetBSD: patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp,v 1.6 2023/03/03 09:53:14 wiz Exp $
-
-urio and smb have been removed from NetBSD.
-upstreamed?
-
-TIOCRCVFRAME and TIOCXMTFRAME as well.
-https://github.com/llvm/llvm-project/issues/61151
-
---- lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp.orig	2023-01-12 07:12:30.000000000 +0000
-+++ lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp
-@@ -957,12 +957,14 @@ unsigned struct_session_op_sz = sizeof(s
- unsigned struct_sgttyb_sz = sizeof(sgttyb);
- unsigned struct_sioc_sg_req_sz = sizeof(sioc_sg_req);
- unsigned struct_sioc_vif_req_sz = sizeof(sioc_vif_req);
-+#if __NetBSD_Version__ < 999000000
- unsigned struct_smbioc_flags_sz = sizeof(smbioc_flags);
- unsigned struct_smbioc_lookup_sz = sizeof(smbioc_lookup);
- unsigned struct_smbioc_oshare_sz = sizeof(smbioc_oshare);
- unsigned struct_smbioc_ossn_sz = sizeof(smbioc_ossn);
- unsigned struct_smbioc_rq_sz = sizeof(smbioc_rq);
- unsigned struct_smbioc_rw_sz = sizeof(smbioc_rw);
-+#endif
- unsigned struct_spppauthcfg_sz = sizeof(spppauthcfg);
- unsigned struct_spppauthfailuresettings_sz = sizeof(spppauthfailuresettings);
- unsigned struct_spppauthfailurestats_sz = sizeof(spppauthfailurestats);
-@@ -987,7 +989,9 @@ unsigned struct_twe_drivecommand_sz = si
- unsigned struct_twe_paramcommand_sz = sizeof(twe_paramcommand);
- unsigned struct_twe_usercommand_sz = sizeof(twe_usercommand);
- unsigned struct_ukyopon_identify_sz = sizeof(ukyopon_identify);
-+#if __NetBSD_Version__ < 999000000
- unsigned struct_urio_command_sz = sizeof(urio_command);
-+#endif
- unsigned struct_usb_alt_interface_sz = sizeof(usb_alt_interface);
- unsigned struct_usb_bulk_ra_wb_opt_sz = sizeof(usb_bulk_ra_wb_opt);
- unsigned struct_usb_config_desc_sz = sizeof(usb_config_desc);
-@@ -1576,8 +1580,10 @@ unsigned IOCTL_STICIO_RESET = STICIO_RES
- unsigned IOCTL_STICIO_STARTQ = STICIO_STARTQ;
- unsigned IOCTL_STICIO_STOPQ = STICIO_STOPQ;
- unsigned IOCTL_UKYOPON_IDENTIFY = UKYOPON_IDENTIFY;
-+#if __NetBSD_Version__ < 999000000
- unsigned IOCTL_URIO_SEND_COMMAND = URIO_SEND_COMMAND;
- unsigned IOCTL_URIO_RECV_COMMAND = URIO_RECV_COMMAND;
-+#endif
- unsigned IOCTL_USB_REQUEST = USB_REQUEST;
- unsigned IOCTL_USB_SETDEBUG = USB_SETDEBUG;
- unsigned IOCTL_USB_DISCOVER = USB_DISCOVER;
-@@ -1962,6 +1968,7 @@ unsigned IOCTL_SIOCCONNECTXDEL = SIOCCON
- unsigned IOCTL_SIOCSIFINFO_FLAGS = SIOCSIFINFO_FLAGS;
- unsigned IOCTL_SIOCAADDRCTL_POLICY = SIOCAADDRCTL_POLICY;
- unsigned IOCTL_SIOCDADDRCTL_POLICY = SIOCDADDRCTL_POLICY;
-+#if __NetBSD_Version__ < 999000000
- unsigned IOCTL_SMBIOC_OPENSESSION = SMBIOC_OPENSESSION;
- unsigned IOCTL_SMBIOC_OPENSHARE = SMBIOC_OPENSHARE;
- unsigned IOCTL_SMBIOC_REQUEST = SMBIOC_REQUEST;
-@@ -1969,6 +1976,7 @@ unsigned IOCTL_SMBIOC_SETFLAGS = SMBIOC_
- unsigned IOCTL_SMBIOC_LOOKUP = SMBIOC_LOOKUP;
- unsigned IOCTL_SMBIOC_READ = SMBIOC_READ;
- unsigned IOCTL_SMBIOC_WRITE = SMBIOC_WRITE;
-+#endif
- unsigned IOCTL_AGPIOC_INFO = AGPIOC_INFO;
- unsigned IOCTL_AGPIOC_ACQUIRE = AGPIOC_ACQUIRE;
- unsigned IOCTL_AGPIOC_RELEASE = AGPIOC_RELEASE;
-@@ -2342,8 +2350,12 @@ unsigned IOCTL_TIOCDRAIN = TIOCDRAIN;
- unsigned IOCTL_TIOCGFLAGS = TIOCGFLAGS;
- unsigned IOCTL_TIOCSFLAGS = TIOCSFLAGS;
- unsigned IOCTL_TIOCDCDTIMESTAMP = TIOCDCDTIMESTAMP;
-+#ifdef TIOCRCVFRAME
- unsigned IOCTL_TIOCRCVFRAME = TIOCRCVFRAME;
-+#endif
-+#ifdef TIOCXMTFRAME
- unsigned IOCTL_TIOCXMTFRAME = TIOCXMTFRAME;
-+#endif
- unsigned IOCTL_TIOCPTMGET = TIOCPTMGET;
- unsigned IOCTL_TIOCGRANTPT = TIOCGRANTPT;
- unsigned IOCTL_TIOCPTSNAME = TIOCPTSNAME;
diff --git a/flang/Makefile b/flang/Makefile
index f75a9dc902..7e466f3d5a 100644
--- a/flang/Makefile
+++ b/flang/Makefile
@@ -11,18 +11,23 @@ HOMEPAGE=	http://flang.llvm.org/
 COMMENT=	Fortran compiler targeting LLVM
 LICENSE=	apache-2.0
 
-USE_LANGUAGES=	c c++17
-USE_TOOLS+=	bash:run gmake
+USE_CXX_FEATURES+=	c++17
+USE_LANGUAGES=		c c++
+USE_TOOLS+=		bash:run gmake
+GCC_REQD+=		12
 
 CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=	-DFLANG_INCLUDE_TESTS=OFF
 CMAKE_ARGS+=	-DCLANG_DIR=${BUILDLINK_PREFIX.clang}/lib/cmake/clang
-# As of 15.0.5, shared libraries are problematic: building executes
-# `flang-new` which is linked against not yet installed shared libraries.
-#CMAKE_ARGS+=	-DBUILD_SHARED_LIBS=YES
+CMAKE_ARGS+=	-DBUILD_SHARED_LIBS=YES
 
 REPLACE_BASH=	tools/f18/flang-to-external-fc.in
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+MAKE_ENV+=	DYLD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/lib
+.endif
+
 .include "../../devel/cmake/build.mk"
 .include "../../wip/clang/buildlink3.mk"
 .include "../../wip/llvm/buildlink3.mk"
diff --git a/flang/PLIST b/flang/PLIST
index 093cb9698b..bf6e9f7999 100644
--- a/flang/PLIST
+++ b/flang/PLIST
@@ -9,6 +9,8 @@ include/flang/Common/Fortran-features.h
 include/flang/Common/Fortran.h
 include/flang/Common/MathOptionsBase.def
 include/flang/Common/MathOptionsBase.h
+include/flang/Common/OpenMP-features.h
+include/flang/Common/Version.h
 include/flang/Common/bit-population-count.h
 include/flang/Common/constexpr-bitset.h
 include/flang/Common/default-kinds.h
@@ -81,19 +83,21 @@ include/flang/Lower/BuiltinModules.h
 include/flang/Lower/CallInterface.h
 include/flang/Lower/Coarray.h
 include/flang/Lower/ComponentPath.h
+include/flang/Lower/ConvertArrayConstructor.h
 include/flang/Lower/ConvertCall.h
 include/flang/Lower/ConvertConstant.h
 include/flang/Lower/ConvertExpr.h
 include/flang/Lower/ConvertExprToHLFIR.h
+include/flang/Lower/ConvertProcedureDesignator.h
 include/flang/Lower/ConvertType.h
 include/flang/Lower/ConvertVariable.h
 include/flang/Lower/CustomIntrinsicCall.h
 include/flang/Lower/DumpEvaluateExpr.h
 include/flang/Lower/EnvironmentDefault.h
+include/flang/Lower/HlfirIntrinsics.h
 include/flang/Lower/HostAssociations.h
 include/flang/Lower/IO.h
 include/flang/Lower/IntervalSet.h
-include/flang/Lower/IntrinsicCall.h
 include/flang/Lower/IterationSpace.h
 include/flang/Lower/LoweringOptions.def
 include/flang/Lower/LoweringOptions.h
@@ -108,6 +112,7 @@ include/flang/Lower/Support/Utils.h
 include/flang/Lower/Support/Verifier.h
 include/flang/Lower/SymbolMap.h
 include/flang/Lower/VectorSubscripts.h
+include/flang/OpenMP/omp_lib.h
 include/flang/Optimizer/Analysis/AliasAnalysis.h
 include/flang/Optimizer/Builder/Array.h
 include/flang/Optimizer/Builder/BoxValue.h
@@ -117,21 +122,27 @@ include/flang/Optimizer/Builder/DoLoopHelper.h
 include/flang/Optimizer/Builder/FIRBuilder.h
 include/flang/Optimizer/Builder/Factory.h
 include/flang/Optimizer/Builder/HLFIRTools.h
+include/flang/Optimizer/Builder/IntrinsicCall.h
 include/flang/Optimizer/Builder/LowLevelIntrinsics.h
 include/flang/Optimizer/Builder/MutableBox.h
+include/flang/Optimizer/Builder/PPCIntrinsicCall.h
 include/flang/Optimizer/Builder/Runtime/Allocatable.h
+include/flang/Optimizer/Builder/Runtime/ArrayConstructor.h
 include/flang/Optimizer/Builder/Runtime/Assign.h
 include/flang/Optimizer/Builder/Runtime/Character.h
 include/flang/Optimizer/Builder/Runtime/Command.h
 include/flang/Optimizer/Builder/Runtime/Derived.h
 include/flang/Optimizer/Builder/Runtime/EnvironmentDefaults.h
 include/flang/Optimizer/Builder/Runtime/Inquiry.h
+include/flang/Optimizer/Builder/Runtime/Intrinsics.h
 include/flang/Optimizer/Builder/Runtime/Numeric.h
 include/flang/Optimizer/Builder/Runtime/RTBuilder.h
 include/flang/Optimizer/Builder/Runtime/Ragged.h
 include/flang/Optimizer/Builder/Runtime/Reduction.h
 include/flang/Optimizer/Builder/Runtime/Stop.h
+include/flang/Optimizer/Builder/Runtime/TemporaryStack.h
 include/flang/Optimizer/Builder/Runtime/Transformational.h
+include/flang/Optimizer/Builder/TemporaryStorage.h
 include/flang/Optimizer/Builder/Todo.h
 include/flang/Optimizer/CodeGen/CGOps.cpp.inc
 include/flang/Optimizer/CodeGen/CGOps.h.inc
@@ -139,6 +150,9 @@ include/flang/Optimizer/CodeGen/CGOps.td
 include/flang/Optimizer/CodeGen/CGPasses.h.inc
 include/flang/Optimizer/CodeGen/CGPasses.td
 include/flang/Optimizer/CodeGen/CodeGen.h
+include/flang/Optimizer/CodeGen/TBAABuilder.h
+include/flang/Optimizer/CodeGen/Target.h
+include/flang/Optimizer/CodeGen/TypeConverter.h
 include/flang/Optimizer/Dialect/CanonicalizationPatterns.inc
 include/flang/Optimizer/Dialect/CanonicalizationPatterns.td
 include/flang/Optimizer/Dialect/FIRAttr.cpp.inc
@@ -162,12 +176,18 @@ include/flang/Optimizer/Dialect/FortranVariableInterface.cpp.inc
 include/flang/Optimizer/Dialect/FortranVariableInterface.h
 include/flang/Optimizer/Dialect/FortranVariableInterface.h.inc
 include/flang/Optimizer/Dialect/FortranVariableInterface.td
+include/flang/Optimizer/Dialect/Support/FIRContext.h
+include/flang/Optimizer/Dialect/Support/KindMapping.h
 include/flang/Optimizer/HLFIR/HLFIRAttributes.cpp.inc
 include/flang/Optimizer/HLFIR/HLFIRAttributes.h.inc
 include/flang/Optimizer/HLFIR/HLFIRDialect.cpp.inc
 include/flang/Optimizer/HLFIR/HLFIRDialect.h
 include/flang/Optimizer/HLFIR/HLFIRDialect.h.inc
+include/flang/Optimizer/HLFIR/HLFIREnums.cpp.inc
+include/flang/Optimizer/HLFIR/HLFIREnums.h.inc
 include/flang/Optimizer/HLFIR/HLFIROpBase.td
+include/flang/Optimizer/HLFIR/HLFIROpInterfaces.cpp.inc
+include/flang/Optimizer/HLFIR/HLFIROpInterfaces.h.inc
 include/flang/Optimizer/HLFIR/HLFIROps.cpp.inc
 include/flang/Optimizer/HLFIR/HLFIROps.h
 include/flang/Optimizer/HLFIR/HLFIROps.h.inc
@@ -177,11 +197,9 @@ include/flang/Optimizer/HLFIR/HLFIRTypes.h.inc
 include/flang/Optimizer/HLFIR/Passes.h
 include/flang/Optimizer/HLFIR/Passes.h.inc
 include/flang/Optimizer/HLFIR/Passes.td
-include/flang/Optimizer/Support/FIRContext.h
 include/flang/Optimizer/Support/FatalError.h
 include/flang/Optimizer/Support/InitFIR.h
 include/flang/Optimizer/Support/InternalNames.h
-include/flang/Optimizer/Support/KindMapping.h
 include/flang/Optimizer/Support/Matcher.h
 include/flang/Optimizer/Support/TypeCode.h
 include/flang/Optimizer/Support/Utils.h
@@ -206,6 +224,8 @@ include/flang/Parser/tools.h
 include/flang/Parser/unparse.h
 include/flang/Parser/user-state.h
 include/flang/Runtime/allocatable.h
+include/flang/Runtime/api-attrs.h
+include/flang/Runtime/array-constructor.h
 include/flang/Runtime/assign.h
 include/flang/Runtime/c-or-cpp.h
 include/flang/Runtime/character.h
@@ -216,11 +236,13 @@ include/flang/Runtime/descriptor.h
 include/flang/Runtime/entry-names.h
 include/flang/Runtime/extensions.h
 include/flang/Runtime/float128.h
+include/flang/Runtime/ieee_arithmetic.h
 include/flang/Runtime/inquiry.h
 include/flang/Runtime/io-api.h
 include/flang/Runtime/iostat.h
 include/flang/Runtime/magic-numbers.h
 include/flang/Runtime/main.h
+include/flang/Runtime/matmul-transpose.h
 include/flang/Runtime/matmul.h
 include/flang/Runtime/memory.h
 include/flang/Runtime/misc-intrinsic.h
@@ -231,6 +253,7 @@ include/flang/Runtime/random.h
 include/flang/Runtime/reduction.h
 include/flang/Runtime/stop.h
 include/flang/Runtime/support.h
+include/flang/Runtime/temporary-stack.h
 include/flang/Runtime/time-intrinsic.h
 include/flang/Runtime/transformational.h
 include/flang/Runtime/type-code.h
@@ -244,14 +267,21 @@ include/flang/Semantics/tools.h
 include/flang/Semantics/type.h
 include/flang/Semantics/unparse-with-symbols.h
 include/flang/Tools/CLOptions.inc
+include/flang/Tools/CrossToolHelpers.h
 include/flang/Tools/PointerModels.h
 include/flang/Version.inc
+include/flang/__cuda_builtins.f18.mod
+include/flang/__cuda_builtins.mod
 include/flang/__fortran_builtins.f18.mod
 include/flang/__fortran_builtins.mod
 include/flang/__fortran_ieee_exceptions.f18.mod
 include/flang/__fortran_ieee_exceptions.mod
 include/flang/__fortran_type_info.f18.mod
 include/flang/__fortran_type_info.mod
+include/flang/__ppc_intrinsics.f18.mod
+include/flang/__ppc_intrinsics.mod
+include/flang/__ppc_types.f18.mod
+include/flang/__ppc_types.mod
 include/flang/ieee_arithmetic.f18.mod
 include/flang/ieee_arithmetic.mod
 include/flang/ieee_exceptions.f18.mod
@@ -268,21 +298,22 @@ lib/cmake/flang/FlangConfig.cmake
 lib/cmake/flang/FlangConfigVersion.cmake
 lib/cmake/flang/FlangTargets-release.cmake
 lib/cmake/flang/FlangTargets.cmake
-lib/libFIRAnalysis.a
-lib/libFIRBuilder.a
-lib/libFIRCodeGen.a
-lib/libFIRDialect.a
-lib/libFIRSupport.a
-lib/libFIRTransforms.a
-lib/libFortranCommon.a
-lib/libFortranDecimal.a
-lib/libFortranEvaluate.a
-lib/libFortranLower.a
-lib/libFortranParser.a
-lib/libFortranRuntime.a
-lib/libFortranSemantics.a
+lib/libFIRAnalysis.so
+lib/libFIRBuilder.so
+lib/libFIRCodeGen.so
+lib/libFIRDialect.so
+lib/libFIRDialectSupport.so
+lib/libFIRSupport.so
+lib/libFIRTransforms.so
+lib/libFortranCommon.so
+lib/libFortranDecimal.so
+lib/libFortranEvaluate.so
+lib/libFortranLower.so
+lib/libFortranParser.so
+lib/libFortranRuntime.so
+lib/libFortranSemantics.so
 lib/libFortran_main.a
-lib/libHLFIRDialect.a
-lib/libHLFIRTransforms.a
-lib/libflangFrontend.a
-lib/libflangFrontendTool.a
+lib/libHLFIRDialect.so
+lib/libHLFIRTransforms.so
+lib/libflangFrontend.so
+lib/libflangFrontendTool.so
diff --git a/flang/distinfo b/flang/distinfo
index ee6744bab4..00cac74c20 100644
--- a/flang/distinfo
+++ b/flang/distinfo
@@ -1,8 +1,11 @@
 $NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
 
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-BLAKE2s (flang-16.0.6.src.tar.xz) = e6c603ee4fa9243e99ec39c5924b8ea5cca868e1830d7b58e4ee7399cd368c39
-SHA512 (flang-16.0.6.src.tar.xz) = 42c1d978946fae320cd4d91e766f1bc5b83ffe0ba676e245b287f5460ffaee25e77f5a1c118e94c0329922dfb9c10f06fb7d76c63481108ba0bd3ae4a0d7937e
-Size (flang-16.0.6.src.tar.xz) = 2369292 bytes
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+BLAKE2s (flang-17.0.3.src.tar.xz) = fadb918d269aeed0aceee4eef7c0180fdb9f42138df7af2b29ceb8cc5df0b96c
+SHA512 (flang-17.0.3.src.tar.xz) = e616f73c198652faa47a4777f773b2abd8c9092518b361af0783298e2004a2bdf349e99ed6ccf96d59f46335adf97716222f1fb89addcad9652aa49a8afb203f
+Size (flang-17.0.3.src.tar.xz) = 2762092 bytes
+BLAKE2s (runtimes-17.0.3.src.tar.xz) = 213f23b58df3b54da5b3445edee29734519bcf8508b294e981dfd70348bfeb35
+SHA512 (runtimes-17.0.3.src.tar.xz) = 7c00e8c8b9f3eeeb07f7c15b076ed120b968728b98699952a3afb6102133e1106ee2e2a90062056fd2d8e1e038648cb22e1ef676abe060cc2e049d50df8730cc
+Size (runtimes-17.0.3.src.tar.xz) = 6244 bytes
diff --git a/libcxx/Makefile b/libcxx/Makefile
index aaaf1a5f6a..7bcc9a06c6 100644
--- a/libcxx/Makefile
+++ b/libcxx/Makefile
@@ -47,6 +47,5 @@ post-extract:
 	${LN} -f -s ${WRKDIR}/${LIBCXXABI} ${WRKDIR}/libcxxabi
 
 .include "../../devel/cmake/build.mk"
-.include "../../wip/libcxxabi/buildlink3.mk"
 .include "../../wip/libunwind/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/libcxx/PLIST b/libcxx/PLIST
index 48648bc1fb..f58734ee08 100644
--- a/libcxx/PLIST
+++ b/libcxx/PLIST
@@ -24,6 +24,7 @@ include/c++/v1/__algorithm/find_if.h
 include/c++/v1/__algorithm/find_if_not.h
 include/c++/v1/__algorithm/for_each.h
 include/c++/v1/__algorithm/for_each_n.h
+include/c++/v1/__algorithm/for_each_segment.h
 include/c++/v1/__algorithm/generate.h
 include/c++/v1/__algorithm/generate_n.h
 include/c++/v1/__algorithm/half_positive.h
@@ -44,6 +45,7 @@ include/c++/v1/__algorithm/is_sorted_until.h
 include/c++/v1/__algorithm/iter_swap.h
 include/c++/v1/__algorithm/iterator_operations.h
 include/c++/v1/__algorithm/lexicographical_compare.h
+include/c++/v1/__algorithm/lexicographical_compare_three_way.h
 include/c++/v1/__algorithm/lower_bound.h
 include/c++/v1/__algorithm/make_heap.h
 include/c++/v1/__algorithm/make_projected.h
@@ -68,6 +70,34 @@ include/c++/v1/__algorithm/partition_copy.h
 include/c++/v1/__algorithm/partition_point.h
 include/c++/v1/__algorithm/pop_heap.h
 include/c++/v1/__algorithm/prev_permutation.h
+include/c++/v1/__algorithm/pstl_any_all_none_of.h
+include/c++/v1/__algorithm/pstl_backend.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backend.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/any_of.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/backend.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/fill.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/find_if.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/for_each.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/libdispatch.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/merge.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/serial.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/stable_sort.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/thread.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/transform.h
+include/c++/v1/__algorithm/pstl_backends/cpu_backends/transform_reduce.h
+include/c++/v1/__algorithm/pstl_copy.h
+include/c++/v1/__algorithm/pstl_count.h
+include/c++/v1/__algorithm/pstl_fill.h
+include/c++/v1/__algorithm/pstl_find.h
+include/c++/v1/__algorithm/pstl_for_each.h
+include/c++/v1/__algorithm/pstl_frontend_dispatch.h
+include/c++/v1/__algorithm/pstl_generate.h
+include/c++/v1/__algorithm/pstl_is_partitioned.h
+include/c++/v1/__algorithm/pstl_merge.h
+include/c++/v1/__algorithm/pstl_replace.h
+include/c++/v1/__algorithm/pstl_sort.h
+include/c++/v1/__algorithm/pstl_stable_sort.h
+include/c++/v1/__algorithm/pstl_transform.h
 include/c++/v1/__algorithm/push_heap.h
 include/c++/v1/__algorithm/ranges_adjacent_find.h
 include/c++/v1/__algorithm/ranges_all_of.h
@@ -150,6 +180,7 @@ include/c++/v1/__algorithm/ranges_sort.h
 include/c++/v1/__algorithm/ranges_sort_heap.h
 include/c++/v1/__algorithm/ranges_stable_partition.h
 include/c++/v1/__algorithm/ranges_stable_sort.h
+include/c++/v1/__algorithm/ranges_starts_with.h
 include/c++/v1/__algorithm/ranges_swap_ranges.h
 include/c++/v1/__algorithm/ranges_transform.h
 include/c++/v1/__algorithm/ranges_unique.h
@@ -183,6 +214,7 @@ include/c++/v1/__algorithm/sort_heap.h
 include/c++/v1/__algorithm/stable_partition.h
 include/c++/v1/__algorithm/stable_sort.h
 include/c++/v1/__algorithm/swap_ranges.h
+include/c++/v1/__algorithm/three_way_comp_ref_type.h
 include/c++/v1/__algorithm/transform.h
 include/c++/v1/__algorithm/uniform_random_bit_generator_adaptor.h
 include/c++/v1/__algorithm/unique.h
@@ -191,6 +223,20 @@ include/c++/v1/__algorithm/unwrap_iter.h
 include/c++/v1/__algorithm/unwrap_range.h
 include/c++/v1/__algorithm/upper_bound.h
 include/c++/v1/__assert
+include/c++/v1/__atomic/aliases.h
+include/c++/v1/__atomic/atomic.h
+include/c++/v1/__atomic/atomic_base.h
+include/c++/v1/__atomic/atomic_flag.h
+include/c++/v1/__atomic/atomic_init.h
+include/c++/v1/__atomic/atomic_lock_free.h
+include/c++/v1/__atomic/atomic_sync.h
+include/c++/v1/__atomic/check_memory_order.h
+include/c++/v1/__atomic/contention_t.h
+include/c++/v1/__atomic/cxx_atomic_impl.h
+include/c++/v1/__atomic/fence.h
+include/c++/v1/__atomic/is_always_lock_free.h
+include/c++/v1/__atomic/kill_dependency.h
+include/c++/v1/__atomic/memory_order.h
 include/c++/v1/__availability
 include/c++/v1/__bit/bit_cast.h
 include/c++/v1/__bit/bit_ceil.h
@@ -206,14 +252,18 @@ include/c++/v1/__bit/has_single_bit.h
 include/c++/v1/__bit/popcount.h
 include/c++/v1/__bit/rotate.h
 include/c++/v1/__bit_reference
-include/c++/v1/__bsd_locale_defaults.h
-include/c++/v1/__bsd_locale_fallbacks.h
 include/c++/v1/__charconv/chars_format.h
+include/c++/v1/__charconv/from_chars_integral.h
 include/c++/v1/__charconv/from_chars_result.h
 include/c++/v1/__charconv/tables.h
+include/c++/v1/__charconv/to_chars.h
 include/c++/v1/__charconv/to_chars_base_10.h
+include/c++/v1/__charconv/to_chars_floating_point.h
+include/c++/v1/__charconv/to_chars_integral.h
 include/c++/v1/__charconv/to_chars_result.h
+include/c++/v1/__charconv/traits.h
 include/c++/v1/__chrono/calendar.h
+include/c++/v1/__chrono/concepts.h
 include/c++/v1/__chrono/convert_to_timespec.h
 include/c++/v1/__chrono/convert_to_tm.h
 include/c++/v1/__chrono/day.h
@@ -272,15 +322,20 @@ include/c++/v1/__concepts/same_as.h
 include/c++/v1/__concepts/semiregular.h
 include/c++/v1/__concepts/swappable.h
 include/c++/v1/__concepts/totally_ordered.h
+include/c++/v1/__condition_variable/condition_variable.h
 include/c++/v1/__config
 include/c++/v1/__config_site
 include/c++/v1/__coroutine/coroutine_handle.h
 include/c++/v1/__coroutine/coroutine_traits.h
 include/c++/v1/__coroutine/noop_coroutine_handle.h
 include/c++/v1/__coroutine/trivial_awaitables.h
-include/c++/v1/__debug
 include/c++/v1/__debug_utils/randomize_range.h
-include/c++/v1/__errc
+include/c++/v1/__debug_utils/strict_weak_ordering_check.h
+include/c++/v1/__exception/exception.h
+include/c++/v1/__exception/exception_ptr.h
+include/c++/v1/__exception/nested_exception.h
+include/c++/v1/__exception/operations.h
+include/c++/v1/__exception/terminate.h
 include/c++/v1/__expected/bad_expected_access.h
 include/c++/v1/__expected/expected.h
 include/c++/v1/__expected/unexpect.h
@@ -331,6 +386,8 @@ include/c++/v1/__format/parser_std_format_spec.h
 include/c++/v1/__format/range_default_formatter.h
 include/c++/v1/__format/range_formatter.h
 include/c++/v1/__format/unicode.h
+include/c++/v1/__format/width_estimation_table.h
+include/c++/v1/__format/write_escaped.h
 include/c++/v1/__functional/binary_function.h
 include/c++/v1/__functional/binary_negate.h
 include/c++/v1/__functional/bind.h
@@ -357,14 +414,20 @@ include/c++/v1/__functional/ranges_operations.h
 include/c++/v1/__functional/reference_wrapper.h
 include/c++/v1/__functional/unary_function.h
 include/c++/v1/__functional/unary_negate.h
-include/c++/v1/__functional/unwrap_ref.h
 include/c++/v1/__functional/weak_result_type.h
 include/c++/v1/__fwd/array.h
+include/c++/v1/__fwd/fstream.h
 include/c++/v1/__fwd/get.h
 include/c++/v1/__fwd/hash.h
+include/c++/v1/__fwd/ios.h
+include/c++/v1/__fwd/istream.h
+include/c++/v1/__fwd/mdspan.h
 include/c++/v1/__fwd/memory_resource.h
+include/c++/v1/__fwd/ostream.h
 include/c++/v1/__fwd/pair.h
 include/c++/v1/__fwd/span.h
+include/c++/v1/__fwd/sstream.h
+include/c++/v1/__fwd/streambuf.h
 include/c++/v1/__fwd/string.h
 include/c++/v1/__fwd/string_view.h
 include/c++/v1/__fwd/subrange.h
@@ -378,6 +441,7 @@ include/c++/v1/__iterator/bounded_iter.h
 include/c++/v1/__iterator/common_iterator.h
 include/c++/v1/__iterator/concepts.h
 include/c++/v1/__iterator/counted_iterator.h
+include/c++/v1/__iterator/cpp17_iterator_concepts.h
 include/c++/v1/__iterator/data.h
 include/c++/v1/__iterator/default_sentinel.h
 include/c++/v1/__iterator/distance.h
@@ -403,6 +467,7 @@ include/c++/v1/__iterator/ostreambuf_iterator.h
 include/c++/v1/__iterator/permutable.h
 include/c++/v1/__iterator/prev.h
 include/c++/v1/__iterator/projected.h
+include/c++/v1/__iterator/ranges_iterator_traits.h
 include/c++/v1/__iterator/readable_traits.h
 include/c++/v1/__iterator/reverse_access.h
 include/c++/v1/__iterator/reverse_iterator.h
@@ -412,9 +477,18 @@ include/c++/v1/__iterator/sortable.h
 include/c++/v1/__iterator/unreachable_sentinel.h
 include/c++/v1/__iterator/wrap_iter.h
 include/c++/v1/__locale
+include/c++/v1/__locale_dir/locale_base_api/bsd_locale_defaults.h
+include/c++/v1/__locale_dir/locale_base_api/bsd_locale_fallbacks.h
+include/c++/v1/__locale_dir/locale_base_api/locale_guard.h
 include/c++/v1/__mbstate_t.h
+include/c++/v1/__mdspan/default_accessor.h
+include/c++/v1/__mdspan/extents.h
+include/c++/v1/__mdspan/layout_left.h
+include/c++/v1/__mdspan/layout_right.h
+include/c++/v1/__mdspan/mdspan.h
 include/c++/v1/__memory/addressof.h
 include/c++/v1/__memory/align.h
+include/c++/v1/__memory/aligned_alloc.h
 include/c++/v1/__memory/allocate_at_least.h
 include/c++/v1/__memory/allocation_guard.h
 include/c++/v1/__memory/allocator.h
@@ -447,7 +521,10 @@ include/c++/v1/__memory_resource/polymorphic_allocator.h
 include/c++/v1/__memory_resource/pool_options.h
 include/c++/v1/__memory_resource/synchronized_pool_resource.h
 include/c++/v1/__memory_resource/unsynchronized_pool_resource.h
-include/c++/v1/__mutex_base
+include/c++/v1/__mutex/lock_guard.h
+include/c++/v1/__mutex/mutex.h
+include/c++/v1/__mutex/tag_types.h
+include/c++/v1/__mutex/unique_lock.h
 include/c++/v1/__node_handle
 include/c++/v1/__numeric/accumulate.h
 include/c++/v1/__numeric/adjacent_difference.h
@@ -458,10 +535,45 @@ include/c++/v1/__numeric/inner_product.h
 include/c++/v1/__numeric/iota.h
 include/c++/v1/__numeric/midpoint.h
 include/c++/v1/__numeric/partial_sum.h
+include/c++/v1/__numeric/pstl_reduce.h
+include/c++/v1/__numeric/pstl_transform_reduce.h
 include/c++/v1/__numeric/reduce.h
 include/c++/v1/__numeric/transform_exclusive_scan.h
 include/c++/v1/__numeric/transform_inclusive_scan.h
 include/c++/v1/__numeric/transform_reduce.h
+include/c++/v1/__pstl/internal/algorithm_fwd.h
+include/c++/v1/__pstl/internal/algorithm_impl.h
+include/c++/v1/__pstl/internal/execution_defs.h
+include/c++/v1/__pstl/internal/execution_impl.h
+include/c++/v1/__pstl/internal/glue_algorithm_defs.h
+include/c++/v1/__pstl/internal/glue_algorithm_impl.h
+include/c++/v1/__pstl/internal/glue_memory_defs.h
+include/c++/v1/__pstl/internal/glue_memory_impl.h
+include/c++/v1/__pstl/internal/glue_numeric_defs.h
+include/c++/v1/__pstl/internal/glue_numeric_impl.h
+include/c++/v1/__pstl/internal/memory_impl.h
+include/c++/v1/__pstl/internal/numeric_fwd.h
+include/c++/v1/__pstl/internal/numeric_impl.h
+include/c++/v1/__pstl/internal/omp/parallel_for.h
+include/c++/v1/__pstl/internal/omp/parallel_for_each.h
+include/c++/v1/__pstl/internal/omp/parallel_invoke.h
+include/c++/v1/__pstl/internal/omp/parallel_merge.h
+include/c++/v1/__pstl/internal/omp/parallel_scan.h
+include/c++/v1/__pstl/internal/omp/parallel_stable_partial_sort.h
+include/c++/v1/__pstl/internal/omp/parallel_stable_sort.h
+include/c++/v1/__pstl/internal/omp/parallel_transform_reduce.h
+include/c++/v1/__pstl/internal/omp/parallel_transform_scan.h
+include/c++/v1/__pstl/internal/omp/util.h
+include/c++/v1/__pstl/internal/parallel_backend.h
+include/c++/v1/__pstl/internal/parallel_backend_omp.h
+include/c++/v1/__pstl/internal/parallel_backend_serial.h
+include/c++/v1/__pstl/internal/parallel_backend_tbb.h
+include/c++/v1/__pstl/internal/parallel_backend_utils.h
+include/c++/v1/__pstl/internal/unseq_backend_simd.h
+include/c++/v1/__pstl/internal/utils.h
+include/c++/v1/__pstl_algorithm
+include/c++/v1/__pstl_memory
+include/c++/v1/__pstl_numeric
 include/c++/v1/__random/bernoulli_distribution.h
 include/c++/v1/__random/binomial_distribution.h
 include/c++/v1/__random/cauchy_distribution.h
@@ -504,7 +616,7 @@ include/c++/v1/__ranges/all.h
 include/c++/v1/__ranges/as_rvalue_view.h
 include/c++/v1/__ranges/common_view.h
 include/c++/v1/__ranges/concepts.h
-include/c++/v1/__ranges/copyable_box.h
+include/c++/v1/__ranges/container_compatible_range.h
 include/c++/v1/__ranges/counted.h
 include/c++/v1/__ranges/dangling.h
 include/c++/v1/__ranges/data.h
@@ -516,16 +628,19 @@ include/c++/v1/__ranges/empty_view.h
 include/c++/v1/__ranges/enable_borrowed_range.h
 include/c++/v1/__ranges/enable_view.h
 include/c++/v1/__ranges/filter_view.h
+include/c++/v1/__ranges/from_range.h
 include/c++/v1/__ranges/iota_view.h
 include/c++/v1/__ranges/istream_view.h
 include/c++/v1/__ranges/join_view.h
 include/c++/v1/__ranges/lazy_split_view.h
+include/c++/v1/__ranges/movable_box.h
 include/c++/v1/__ranges/non_propagating_cache.h
 include/c++/v1/__ranges/owning_view.h
 include/c++/v1/__ranges/range_adaptor.h
 include/c++/v1/__ranges/rbegin.h
 include/c++/v1/__ranges/ref_view.h
 include/c++/v1/__ranges/rend.h
+include/c++/v1/__ranges/repeat_view.h
 include/c++/v1/__ranges/reverse_view.h
 include/c++/v1/__ranges/single_view.h
 include/c++/v1/__ranges/size.h
@@ -533,13 +648,23 @@ include/c++/v1/__ranges/split_view.h
 include/c++/v1/__ranges/subrange.h
 include/c++/v1/__ranges/take_view.h
 include/c++/v1/__ranges/take_while_view.h
+include/c++/v1/__ranges/to.h
 include/c++/v1/__ranges/transform_view.h
 include/c++/v1/__ranges/view_interface.h
 include/c++/v1/__ranges/views.h
 include/c++/v1/__ranges/zip_view.h
 include/c++/v1/__split_buffer
-include/c++/v1/__std_stream
+include/c++/v1/__std_clang_module
+include/c++/v1/__std_mbstate_t.h
+include/c++/v1/__stop_token/atomic_unique_lock.h
+include/c++/v1/__stop_token/intrusive_list_view.h
+include/c++/v1/__stop_token/intrusive_shared_ptr.h
+include/c++/v1/__stop_token/stop_callback.h
+include/c++/v1/__stop_token/stop_source.h
+include/c++/v1/__stop_token/stop_state.h
+include/c++/v1/__stop_token/stop_token.h
 include/c++/v1/__string/char_traits.h
+include/c++/v1/__string/constexpr_c_functions.h
 include/c++/v1/__string/extern_template_lists.h
 include/c++/v1/__support/android/locale_bionic.h
 include/c++/v1/__support/fuchsia/xlocale.h
@@ -550,27 +675,32 @@ include/c++/v1/__support/ibm/xlocale.h
 include/c++/v1/__support/musl/xlocale.h
 include/c++/v1/__support/newlib/xlocale.h
 include/c++/v1/__support/openbsd/xlocale.h
-include/c++/v1/__support/solaris/floatingpoint.h
-include/c++/v1/__support/solaris/wchar.h
-include/c++/v1/__support/solaris/xlocale.h
 include/c++/v1/__support/win32/locale_win32.h
 include/c++/v1/__support/xlocale/__nop_locale_mgmt.h
 include/c++/v1/__support/xlocale/__posix_l_fallback.h
 include/c++/v1/__support/xlocale/__strtonum_fallback.h
+include/c++/v1/__system_error/errc.h
+include/c++/v1/__system_error/error_category.h
+include/c++/v1/__system_error/error_code.h
+include/c++/v1/__system_error/error_condition.h
+include/c++/v1/__system_error/system_error.h
+include/c++/v1/__thread/formatter.h
+include/c++/v1/__thread/id.h
 include/c++/v1/__thread/poll_with_backoff.h
+include/c++/v1/__thread/this_thread.h
+include/c++/v1/__thread/thread.h
 include/c++/v1/__thread/timed_backoff_policy.h
 include/c++/v1/__threading_support
 include/c++/v1/__tree
-include/c++/v1/__tuple_dir/apply_cv.h
-include/c++/v1/__tuple_dir/make_tuple_types.h
-include/c++/v1/__tuple_dir/pair_like.h
-include/c++/v1/__tuple_dir/sfinae_helpers.h
-include/c++/v1/__tuple_dir/tuple_element.h
-include/c++/v1/__tuple_dir/tuple_indices.h
-include/c++/v1/__tuple_dir/tuple_like.h
-include/c++/v1/__tuple_dir/tuple_like_ext.h
-include/c++/v1/__tuple_dir/tuple_size.h
-include/c++/v1/__tuple_dir/tuple_types.h
+include/c++/v1/__tuple/make_tuple_types.h
+include/c++/v1/__tuple/pair_like.h
+include/c++/v1/__tuple/sfinae_helpers.h
+include/c++/v1/__tuple/tuple_element.h
+include/c++/v1/__tuple/tuple_indices.h
+include/c++/v1/__tuple/tuple_like.h
+include/c++/v1/__tuple/tuple_like_ext.h
+include/c++/v1/__tuple/tuple_size.h
+include/c++/v1/__tuple/tuple_types.h
 include/c++/v1/__type_traits/add_const.h
 include/c++/v1/__type_traits/add_cv.h
 include/c++/v1/__type_traits/add_lvalue_reference.h
@@ -588,6 +718,7 @@ include/c++/v1/__type_traits/conditional.h
 include/c++/v1/__type_traits/conjunction.h
 include/c++/v1/__type_traits/copy_cv.h
 include/c++/v1/__type_traits/copy_cvref.h
+include/c++/v1/__type_traits/datasizeof.h
 include/c++/v1/__type_traits/decay.h
 include/c++/v1/__type_traits/dependent_type.h
 include/c++/v1/__type_traits/disjunction.h
@@ -596,6 +727,7 @@ include/c++/v1/__type_traits/extent.h
 include/c++/v1/__type_traits/has_unique_object_representation.h
 include/c++/v1/__type_traits/has_virtual_destructor.h
 include/c++/v1/__type_traits/integral_constant.h
+include/c++/v1/__type_traits/invoke.h
 include/c++/v1/__type_traits/is_abstract.h
 include/c++/v1/__type_traits/is_aggregate.h
 include/c++/v1/__type_traits/is_allocator.h
@@ -620,6 +752,8 @@ include/c++/v1/__type_traits/is_default_constructible.h
 include/c++/v1/__type_traits/is_destructible.h
 include/c++/v1/__type_traits/is_empty.h
 include/c++/v1/__type_traits/is_enum.h
+include/c++/v1/__type_traits/is_equality_comparable.h
+include/c++/v1/__type_traits/is_execution_policy.h
 include/c++/v1/__type_traits/is_final.h
 include/c++/v1/__type_traits/is_floating_point.h
 include/c++/v1/__type_traits/is_function.h
@@ -666,6 +800,7 @@ include/c++/v1/__type_traits/is_trivially_copy_constructible.h
 include/c++/v1/__type_traits/is_trivially_copyable.h
 include/c++/v1/__type_traits/is_trivially_default_constructible.h
 include/c++/v1/__type_traits/is_trivially_destructible.h
+include/c++/v1/__type_traits/is_trivially_lexicographically_comparable.h
 include/c++/v1/__type_traits/is_trivially_move_assignable.h
 include/c++/v1/__type_traits/is_trivially_move_constructible.h
 include/c++/v1/__type_traits/is_unbounded_array.h
@@ -684,6 +819,8 @@ include/c++/v1/__type_traits/maybe_const.h
 include/c++/v1/__type_traits/nat.h
 include/c++/v1/__type_traits/negation.h
 include/c++/v1/__type_traits/noexcept_move_assign_container.h
+include/c++/v1/__type_traits/operation_traits.h
+include/c++/v1/__type_traits/predicate_traits.h
 include/c++/v1/__type_traits/promote.h
 include/c++/v1/__type_traits/rank.h
 include/c++/v1/__type_traits/remove_all_extents.h
@@ -700,6 +837,7 @@ include/c++/v1/__type_traits/strip_signature.h
 include/c++/v1/__type_traits/type_identity.h
 include/c++/v1/__type_traits/type_list.h
 include/c++/v1/__type_traits/underlying_type.h
+include/c++/v1/__type_traits/unwrap_ref.h
 include/c++/v1/__type_traits/void_t.h
 include/c++/v1/__undef_macros
 include/c++/v1/__utility/as_const.h
@@ -713,12 +851,14 @@ include/c++/v1/__utility/forward.h
 include/c++/v1/__utility/forward_like.h
 include/c++/v1/__utility/in_place.h
 include/c++/v1/__utility/integer_sequence.h
+include/c++/v1/__utility/is_pointer_in_range.h
 include/c++/v1/__utility/move.h
 include/c++/v1/__utility/pair.h
 include/c++/v1/__utility/piecewise_construct.h
 include/c++/v1/__utility/priority_tag.h
 include/c++/v1/__utility/rel_ops.h
 include/c++/v1/__utility/swap.h
+include/c++/v1/__utility/terminate_on_exception.h
 include/c++/v1/__utility/to_underlying.h
 include/c++/v1/__utility/unreachable.h
 include/c++/v1/__variant/monostate.h
@@ -772,11 +912,8 @@ include/c++/v1/execution
 include/c++/v1/expected
 include/c++/v1/experimental/__config
 include/c++/v1/experimental/__memory
-include/c++/v1/experimental/algorithm
-include/c++/v1/experimental/coroutine
 include/c++/v1/experimental/deque
 include/c++/v1/experimental/forward_list
-include/c++/v1/experimental/functional
 include/c++/v1/experimental/iterator
 include/c++/v1/experimental/list
 include/c++/v1/experimental/map
@@ -819,6 +956,7 @@ include/c++/v1/locale
 include/c++/v1/locale.h
 include/c++/v1/map
 include/c++/v1/math.h
+include/c++/v1/mdspan
 include/c++/v1/memory
 include/c++/v1/memory_resource
 include/c++/v1/module.modulemap
@@ -828,6 +966,7 @@ include/c++/v1/numbers
 include/c++/v1/numeric
 include/c++/v1/optional
 include/c++/v1/ostream
+include/c++/v1/print
 include/c++/v1/queue
 include/c++/v1/random
 include/c++/v1/ranges
@@ -849,6 +988,7 @@ include/c++/v1/stdexcept
 include/c++/v1/stdint.h
 include/c++/v1/stdio.h
 include/c++/v1/stdlib.h
+include/c++/v1/stop_token
 include/c++/v1/streambuf
 include/c++/v1/string
 include/c++/v1/string.h
diff --git a/libcxx/distinfo b/libcxx/distinfo
index 021a4d7569..02d966dfde 100644
--- a/libcxx/distinfo
+++ b/libcxx/distinfo
@@ -1,17 +1,18 @@
 $NetBSD: distinfo,v 1.25 2023/01/12 19:32:54 adam Exp $
 
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-BLAKE2s (libcxx-16.0.6.src.tar.xz) = 4ad216b6f725c6b3207f76a0b1bcdb2ef46bfcf9cef8cbe289b3c89632fcbf3d
-SHA512 (libcxx-16.0.6.src.tar.xz) = d5ccadcceb67815ad0537ec82d40fd52b0ac5e5b37acba8951d92d2f16f7e19adf517d7249f0fca448c9f60a740c63ddfe23630e519148e8d8f37693614830db
-Size (libcxx-16.0.6.src.tar.xz) = 3655520 bytes
-BLAKE2s (libcxxabi-16.0.6.src.tar.xz) = 62b0fea4aa05c44ecf34f188f8aec8fc1a41bc34ff42fdc3831eb515c31a282c
-SHA512 (libcxxabi-16.0.6.src.tar.xz) = 5f49ad34d5d00a3cd5ca92c8570b0cd77123a818456fe30a3fab7c14a2fe134ada5215466f729c9e1da12a38a9e2b2254b80775bda2986c505a2cad5af5cb70e
-Size (libcxxabi-16.0.6.src.tar.xz) = 573564 bytes
-SHA1 (patch-include_____locale) = 2eafcf7f70f67df907593fe8cc0cc1ec1c0e0552
-SHA1 (patch-include_____support_solaris_xlocale.h) = c6a969ed48b4df78401fea76c7a936c258cf869f
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+BLAKE2s (libcxx-17.0.3.src.tar.xz) = 5d345b6d501f7c077e4a7264ea4771030532a061a4b3ac01037d2a75e3d9c7fa
+SHA512 (libcxx-17.0.3.src.tar.xz) = d5b214398ff03d80ae227b62f09e8d00b3d2b55218e6ffdf29b6268f74acd7b7e0cc10298fa425487a6a8863af7db0bc3992c3dbde04392547c40223f7a7ded6
+Size (libcxx-17.0.3.src.tar.xz) = 3945844 bytes
+BLAKE2s (libcxxabi-17.0.3.src.tar.xz) = acbe5bfa919f03e3be28e5a6374d1127640ef1cdd50f6090e9d2423a97cfafac
+SHA512 (libcxxabi-17.0.3.src.tar.xz) = ec179d90a639685c5d3ce7304858be44f776516fa9c5ddaae38d5fee01193d55ccac0657daf19bfd6c3053d20bb0d583cf558ba5c4235fd6c3b5a14386bc4ee9
+Size (libcxxabi-17.0.3.src.tar.xz) = 575660 bytes
+BLAKE2s (runtimes-17.0.3.src.tar.xz) = 213f23b58df3b54da5b3445edee29734519bcf8508b294e981dfd70348bfeb35
+SHA512 (runtimes-17.0.3.src.tar.xz) = 7c00e8c8b9f3eeeb07f7c15b076ed120b968728b98699952a3afb6102133e1106ee2e2a90062056fd2d8e1e038648cb22e1ef676abe060cc2e049d50df8730cc
+Size (runtimes-17.0.3.src.tar.xz) = 6244 bytes
 SHA1 (patch-src_charconv.cpp) = b8569ae77df4a5a7b627b3a9cb6691be73699dca
-SHA1 (patch-src_filesystem_filesystem__common.h) = 7b088ae8e577b482e05906434b510daed40469ae
+SHA1 (patch-src_filesystem_file__descriptor.h) = 4467b29e3daf2d9e7b0c7b61fdc5d2ccc1f1753d
 SHA1 (patch-src_include_to__chars__floating__point.h) = f7f880905609b87830ea657c7510fb3987448a09
 SHA1 (patch-src_support_solaris_xlocale.cpp) = 51fc7940a60a4e288a1ccb65f1ea0502f6006490
diff --git a/libcxx/patches/patch-include_____locale b/libcxx/patches/patch-include_____locale
deleted file mode 100644
index 21a561ee20..0000000000
--- a/libcxx/patches/patch-include_____locale
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-include_____locale,v 1.3 2022/12/07 10:40:34 jperkin Exp $
-
-Increase SunOS mask to fit all values.
-
---- include/__locale.orig	2022-11-29 10:05:58.000000000 +0000
-+++ include/__locale
-@@ -495,7 +495,7 @@ public:
- # if defined(_AIX)
-     static const mask __regex_word = 0x8000;
- # else
--    static const mask __regex_word = 0x80;
-+    static const mask __regex_word = 0x80000;
- # endif
- #elif defined(_NEWLIB_VERSION)
-     // Same type as Newlib's _ctype_ array in newlib/libc/include/ctype.h.
diff --git a/libcxx/patches/patch-include_____support_solaris_xlocale.h b/libcxx/patches/patch-include_____support_solaris_xlocale.h
deleted file mode 100644
index dde9a19fc2..0000000000
--- a/libcxx/patches/patch-include_____support_solaris_xlocale.h
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-include_____support_solaris_xlocale.h,v 1.1 2022/12/07 10:40:34 jperkin Exp $
-
-Fix SunOS support.
-
---- include/__support/solaris/xlocale.h.orig	2022-11-29 10:05:58.000000000 +0000
-+++ include/__support/solaris/xlocale.h
-@@ -13,6 +13,9 @@
- #ifndef __XLOCALE_H_INCLUDED
- #define __XLOCALE_H_INCLUDED
- 
-+#include <cstdlib>
-+#include <cwchar>
-+#include <__support/xlocale/__strtonum_fallback.h>
- #include <stdlib.h>
- 
- #ifdef __cplusplus
-@@ -31,6 +34,7 @@ int tolower_l(int __c, locale_t __l);
- struct lconv *localeconv(void);
- struct lconv *localeconv_l(locale_t __l);
- 
-+#if 0
- // FIXME: These are quick-and-dirty hacks to make things pretend to work
- inline _LIBCPP_HIDE_FROM_ABI long long
- strtoll_l(const char *__nptr, char **__endptr, int __base, locale_t __loc) {
-@@ -66,6 +70,7 @@ inline _LIBCPP_HIDE_FROM_ABI long double
- strtold_l(const char *__nptr, char **__endptr, locale_t __loc) {
-   return ::strtold(__nptr, __endptr);
- }
-+#endif
- 
- 
- #ifdef __cplusplus
diff --git a/libcxx/patches/patch-src_filesystem_file__descriptor.h b/libcxx/patches/patch-src_filesystem_file__descriptor.h
new file mode 100644
index 0000000000..4d6fa41596
--- /dev/null
+++ b/libcxx/patches/patch-src_filesystem_file__descriptor.h
@@ -0,0 +1,28 @@
+$NetBSD$
+
+Support POSIX file modes.
+
+--- src/filesystem/file_descriptor.h.orig	2023-10-17 06:20:52.000000000 +0000
++++ src/filesystem/file_descriptor.h
+@@ -41,7 +41,21 @@ namespace detail {
+ #if defined(DT_BLK)
+ template <class DirEntT, class = decltype(DirEntT::d_type)>
+ file_type get_file_type(DirEntT* ent, int) {
++#ifdef __sun
++#define DT_BLK		S_IFBLK
++#define DT_CHR		S_IFCHR
++#define DT_DIR		S_IFDIR
++#define DT_FIFO		S_IFIFO
++#define DT_LNK		S_IFLNK
++#define DT_REG		S_IFREG
++#define DT_SOCK		S_IFSOCK
++#define DT_UNKNOWN	0
++  struct stat s;
++  stat(ent->d_name, &s);
++  switch (s.st_mode & 0xF000) {
++#else
+   switch (ent->d_type) {
++#endif
+   case DT_BLK:
+     return file_type::block;
+   case DT_CHR:
diff --git a/libcxx/patches/patch-src_filesystem_filesystem__common.h b/libcxx/patches/patch-src_filesystem_filesystem__common.h
deleted file mode 100644
index 5c0c657033..0000000000
--- a/libcxx/patches/patch-src_filesystem_filesystem__common.h
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-src_filesystem_filesystem__common.h,v 1.1 2022/08/13 09:38:09 tnn Exp $
-
-Support POSIX file modes.
-
---- src/filesystem/filesystem_common.h.orig	2022-06-22 16:46:24.000000000 +0000
-+++ src/filesystem/filesystem_common.h
-@@ -538,7 +538,21 @@ bool set_file_times(const path& p, std::
- #if defined(DT_BLK)
- template <class DirEntT, class = decltype(DirEntT::d_type)>
- static file_type get_file_type(DirEntT* ent, int) {
-+#ifdef __sun
-+#define DT_BLK		S_IFBLK
-+#define DT_CHR		S_IFCHR
-+#define DT_DIR		S_IFDIR
-+#define DT_FIFO		S_IFIFO
-+#define DT_LNK		S_IFLNK
-+#define DT_REG		S_IFREG
-+#define DT_SOCK		S_IFSOCK
-+#define DT_UNKNOWN	0
-+  struct stat s;
-+  stat(ent->d_name, &s);
-+  switch (s.st_mode & 0xF000) {
-+#else
-   switch (ent->d_type) {
-+#endif
-   case DT_BLK:
-     return file_type::block;
-   case DT_CHR:
diff --git a/libcxx/patches/patch-src_support_solaris_xlocale.cpp b/libcxx/patches/patch-src_support_solaris_xlocale.cpp
deleted file mode 100644
index 05499f889e..0000000000
--- a/libcxx/patches/patch-src_support_solaris_xlocale.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-src_support_solaris_xlocale.cpp,v 1.3 2022/08/13 09:38:09 tnn Exp $
-
-don't try to use sys/localedef.h on SunOS if nonexistent
-OpenIndiana doesn't seem to ship the header.
-Userland shouldn't use it, according to Garrett D'Amore:
-https://illumos.topicbox.com/groups/developer/T6cfd2e6cd87f3485-M30dac0cb6fffae62ef45b9a8
-
---- src/support/solaris/xlocale.cpp.orig	2022-06-22 16:46:24.000000000 +0000
-+++ src/support/solaris/xlocale.cpp
-@@ -6,7 +6,7 @@
- //
- //===----------------------------------------------------------------------===//
- 
--#ifdef __sun__
-+#if defined(__sun__) && __has_include(<sys/localedef.h>)
- 
- #include "__support/solaris/xlocale.h"
- #include <stdarg.h>
diff --git a/libcxxabi/Makefile b/libcxxabi/Makefile
index 48ecb38527..b415e7bf42 100644
--- a/libcxxabi/Makefile
+++ b/libcxxabi/Makefile
@@ -21,7 +21,6 @@ EXTRA_DIST+=	${LIBCXX}${EXTRACT_SUFX}
 SITES.${LIBCXX}${EXTRACT_SUFX}=	\
 	${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
 
-
 USE_LANGUAGES=	c c++17
 SSP_SUPPORTED=	no
 GCC_REQD+=	12	# must be in sync with libcxx
@@ -41,9 +40,11 @@ CXXFLAGS+=	-std=c++17 -D_LIBCPP_STD_VER=17
 post-extract:
 	${LN} -f -s ${WRKDIR}/${LIBCXX} ${WRKDIR}/libcxx
 # TODO: not sure what should create this and with which contents
-	${TOUCH} ${WRKDIR}/${LIBCXX}/include/__config_site
+	${CP} ${PREFIX}/include/c++/v1/__config_site \
+		${WRKDIR}/${LIBCXX}/include/__config_site
 
 .include "../../devel/cmake/build.mk"
+.include "../../wip/libcxx/buildlink3.mk"
 .include "../../wip/libunwind/buildlink3.mk"
 .include "../../wip/llvm/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/libcxxabi/distinfo b/libcxxabi/distinfo
index 7a60d6a2f0..a301417d8d 100644
--- a/libcxxabi/distinfo
+++ b/libcxxabi/distinfo
@@ -1,13 +1,16 @@
 $NetBSD: distinfo,v 1.21 2023/01/12 19:32:54 adam Exp $
 
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-BLAKE2s (libcxx-16.0.6.src.tar.xz) = 4ad216b6f725c6b3207f76a0b1bcdb2ef46bfcf9cef8cbe289b3c89632fcbf3d
-SHA512 (libcxx-16.0.6.src.tar.xz) = d5ccadcceb67815ad0537ec82d40fd52b0ac5e5b37acba8951d92d2f16f7e19adf517d7249f0fca448c9f60a740c63ddfe23630e519148e8d8f37693614830db
-Size (libcxx-16.0.6.src.tar.xz) = 3655520 bytes
-BLAKE2s (libcxxabi-16.0.6.src.tar.xz) = 62b0fea4aa05c44ecf34f188f8aec8fc1a41bc34ff42fdc3831eb515c31a282c
-SHA512 (libcxxabi-16.0.6.src.tar.xz) = 5f49ad34d5d00a3cd5ca92c8570b0cd77123a818456fe30a3fab7c14a2fe134ada5215466f729c9e1da12a38a9e2b2254b80775bda2986c505a2cad5af5cb70e
-Size (libcxxabi-16.0.6.src.tar.xz) = 573564 bytes
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+BLAKE2s (libcxx-17.0.3.src.tar.xz) = 5d345b6d501f7c077e4a7264ea4771030532a061a4b3ac01037d2a75e3d9c7fa
+SHA512 (libcxx-17.0.3.src.tar.xz) = d5b214398ff03d80ae227b62f09e8d00b3d2b55218e6ffdf29b6268f74acd7b7e0cc10298fa425487a6a8863af7db0bc3992c3dbde04392547c40223f7a7ded6
+Size (libcxx-17.0.3.src.tar.xz) = 3945844 bytes
+BLAKE2s (libcxxabi-17.0.3.src.tar.xz) = acbe5bfa919f03e3be28e5a6374d1127640ef1cdd50f6090e9d2423a97cfafac
+SHA512 (libcxxabi-17.0.3.src.tar.xz) = ec179d90a639685c5d3ce7304858be44f776516fa9c5ddaae38d5fee01193d55ccac0657daf19bfd6c3053d20bb0d583cf558ba5c4235fd6c3b5a14386bc4ee9
+Size (libcxxabi-17.0.3.src.tar.xz) = 575660 bytes
+BLAKE2s (runtimes-17.0.3.src.tar.xz) = 213f23b58df3b54da5b3445edee29734519bcf8508b294e981dfd70348bfeb35
+SHA512 (runtimes-17.0.3.src.tar.xz) = 7c00e8c8b9f3eeeb07f7c15b076ed120b968728b98699952a3afb6102133e1106ee2e2a90062056fd2d8e1e038648cb22e1ef676abe060cc2e049d50df8730cc
+Size (runtimes-17.0.3.src.tar.xz) = 6244 bytes
 SHA1 (patch-src_CMakeLists.txt) = da127de7603ed0ea5530c4a8cd2ffcee61d2ff90
 SHA1 (patch-src_demangle_Utility.h) = 7a4850869f9f4ce858d2cceeb999934c28292a95
diff --git a/libunwind/distinfo b/libunwind/distinfo
index a84b69a56a..9e3e521366 100644
--- a/libunwind/distinfo
+++ b/libunwind/distinfo
@@ -1,12 +1,15 @@
 $NetBSD: distinfo,v 1.32 2023/01/12 22:47:25 wiz Exp $
 
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-BLAKE2s (libcxx-16.0.6.src.tar.xz) = 4ad216b6f725c6b3207f76a0b1bcdb2ef46bfcf9cef8cbe289b3c89632fcbf3d
-SHA512 (libcxx-16.0.6.src.tar.xz) = d5ccadcceb67815ad0537ec82d40fd52b0ac5e5b37acba8951d92d2f16f7e19adf517d7249f0fca448c9f60a740c63ddfe23630e519148e8d8f37693614830db
-Size (libcxx-16.0.6.src.tar.xz) = 3655520 bytes
-BLAKE2s (libunwind-16.0.6.src.tar.xz) = a34c9ff82a3d889c4b9278bca3a96429f285dd38961d49309570bc60600e5fb6
-SHA512 (libunwind-16.0.6.src.tar.xz) = abc1463bbebd771832c5da34aeb1dfe4c168b90c8257abfcfda573f495359b5968a2169f528dbf8276ed0b9bc1c42f27f4b4383d335d6e6416b6a536074b3f3f
-Size (libunwind-16.0.6.src.tar.xz) = 115032 bytes
-SHA1 (patch-src_CMakeLists.txt) = a8ac316fddf0d71c75d7f64695335a6f4842fead
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+BLAKE2s (libcxx-17.0.3.src.tar.xz) = 5d345b6d501f7c077e4a7264ea4771030532a061a4b3ac01037d2a75e3d9c7fa
+SHA512 (libcxx-17.0.3.src.tar.xz) = d5b214398ff03d80ae227b62f09e8d00b3d2b55218e6ffdf29b6268f74acd7b7e0cc10298fa425487a6a8863af7db0bc3992c3dbde04392547c40223f7a7ded6
+Size (libcxx-17.0.3.src.tar.xz) = 3945844 bytes
+BLAKE2s (libunwind-17.0.3.src.tar.xz) = 50f50f8238e5197efab97709cbcd67d4aefb0fda94f9a832b9e3a4eb3c485c2f
+SHA512 (libunwind-17.0.3.src.tar.xz) = 1df589210b27ea2f5471aa27d9b504b0ad749ba526b8b538980cc6d3d24e3135410bd4a1c054597b5aa3e21856995a957ff864cfa99f008a11b69ead1834b949
+Size (libunwind-17.0.3.src.tar.xz) = 115056 bytes
+BLAKE2s (runtimes-17.0.3.src.tar.xz) = 213f23b58df3b54da5b3445edee29734519bcf8508b294e981dfd70348bfeb35
+SHA512 (runtimes-17.0.3.src.tar.xz) = 7c00e8c8b9f3eeeb07f7c15b076ed120b968728b98699952a3afb6102133e1106ee2e2a90062056fd2d8e1e038648cb22e1ef676abe060cc2e049d50df8730cc
+Size (runtimes-17.0.3.src.tar.xz) = 6244 bytes
+SHA1 (patch-src_CMakeLists.txt) = a9a226497831d5ed54e2b61956f143943d9aa3f4
diff --git a/libunwind/patches/patch-src_CMakeLists.txt b/libunwind/patches/patch-src_CMakeLists.txt
index 6124d9d993..d20d28186a 100644
--- a/libunwind/patches/patch-src_CMakeLists.txt
+++ b/libunwind/patches/patch-src_CMakeLists.txt
@@ -11,19 +11,3 @@ https://github.com/llvm/llvm-project/issues/59978
  
  set(LIBUNWIND_CXX_SOURCES
      libunwind.cpp
-@@ -31,15 +32,6 @@ set(LIBUNWIND_ASM_SOURCES
-     UnwindRegistersSave.S
-     )
- 
--# See add_asm_sources() in compiler-rt for explanation of this workaround.
--# CMake doesn't work correctly with assembly on AIX. Workaround by compiling
--# as C files as well.
--if((APPLE AND CMAKE_VERSION VERSION_LESS 3.19) OR
--   (MINGW AND CMAKE_VERSION VERSION_LESS 3.17) OR
--   (${CMAKE_SYSTEM_NAME} MATCHES "AIX"))
--  set_source_files_properties(${LIBUNWIND_ASM_SOURCES} PROPERTIES LANGUAGE C)
--endif()
--
- set(LIBUNWIND_HEADERS
-     AddressSpace.hpp
-     assembly.h
diff --git a/lld/distinfo b/lld/distinfo
index d9d0c8e207..39761cb17c 100644
--- a/lld/distinfo
+++ b/lld/distinfo
@@ -1,11 +1,13 @@
 $NetBSD: distinfo,v 1.21 2023/01/12 19:32:53 adam Exp $
 
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-BLAKE2s (lld-16.0.6.src.tar.xz) = b2c825a96aedf7a14033019ed7ddaf73fb5a50610ce650dd59a72448f0ab9caf
-SHA512 (lld-16.0.6.src.tar.xz) = 8df248785cd77e683f3daf9cab76a4a230305b881a7a844ef644b6a55fee366d5fcca23593ca09945ba8ddae0ae119042afe3f43547c106571e98004dbc7f1e6
-Size (lld-16.0.6.src.tar.xz) = 1455688 bytes
-SHA1 (patch-CMakeLists.txt) = afcd342966b989026b39445645807e6a541b351e
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+BLAKE2s (lld-17.0.3.src.tar.xz) = a2caeb886c8a2fe3885175736105c37015d239d8e7b3d4bf6aeb989271fd93d1
+SHA512 (lld-17.0.3.src.tar.xz) = 4bf31d47a98b6783459b350673df3fca550e7351d0db3e1fc9dda7d4a907c200a98bc7b8dc5959e7671dbae5a4e66689de6077a811300171d7a67e2d8906fc93
+Size (lld-17.0.3.src.tar.xz) = 1506052 bytes
+BLAKE2s (runtimes-17.0.3.src.tar.xz) = 213f23b58df3b54da5b3445edee29734519bcf8508b294e981dfd70348bfeb35
+SHA512 (runtimes-17.0.3.src.tar.xz) = 7c00e8c8b9f3eeeb07f7c15b076ed120b968728b98699952a3afb6102133e1106ee2e2a90062056fd2d8e1e038648cb22e1ef676abe060cc2e049d50df8730cc
+Size (runtimes-17.0.3.src.tar.xz) = 6244 bytes
 SHA1 (patch-ELF_Config.h) = 50861ef74c2ff9a9091afcbc8d076e379d9531e5
 SHA1 (patch-ELF_Options.td) = c81907d6e5e099ed2c26de972c6744b7197de3d3
diff --git a/lld/patches/patch-CMakeLists.txt b/lld/patches/patch-CMakeLists.txt
deleted file mode 100644
index f75d000cd4..0000000000
--- a/lld/patches/patch-CMakeLists.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-CMakeLists.txt,v 1.4 2022/08/12 08:52:51 pin Exp $
-
-LLD 7.0.1 is incompatible with gtest version in pkgsrc.  Remove
-the condition that prevents it from building its own copy when system
-version is installed.
-
---- CMakeLists.txt.orig	2023-04-05 05:36:38.000000000 +0200
-+++ CMakeLists.txt	2023-04-28 23:18:59.353328097 +0200
-@@ -77,7 +77,6 @@
-       endif()
-       set(UNITTEST_DIR ${LLVM_THIRD_PARTY_DIR}/unittest)
-       if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h
--          AND NOT EXISTS ${LLVM_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}gtest${CMAKE_STATIC_LIBRARY_SUFFIX}
-           AND EXISTS ${UNITTEST_DIR}/CMakeLists.txt)
-         add_subdirectory(${UNITTEST_DIR} third-party/unittest)
-       endif()
diff --git a/lldb/PLIST b/lldb/PLIST
index 8c52bf9661..525a12b434 100644
--- a/lldb/PLIST
+++ b/lldb/PLIST
@@ -48,6 +48,7 @@ include/lldb/API/SBProcessInfo.h
 include/lldb/API/SBQueue.h
 include/lldb/API/SBQueueItem.h
 include/lldb/API/SBReproducer.h
+include/lldb/API/SBScriptObject.h
 include/lldb/API/SBSection.h
 include/lldb/API/SBSourceManager.h
 include/lldb/API/SBStream.h
@@ -112,10 +113,10 @@ include/lldb/Core/DebuggerEvents.h
 include/lldb/Core/Declaration.h
 include/lldb/Core/Disassembler.h
 include/lldb/Core/DumpDataExtractor.h
+include/lldb/Core/DumpRegisterInfo.h
 include/lldb/Core/DumpRegisterValue.h
 include/lldb/Core/EmulateInstruction.h
 include/lldb/Core/FileLineResolver.h
-include/lldb/Core/FileSpecList.h
 include/lldb/Core/FormatEntity.h
 include/lldb/Core/Highlighter.h
 include/lldb/Core/IOHandler.h
@@ -141,7 +142,6 @@ include/lldb/Core/StreamAsynchronousIO.h
 include/lldb/Core/StreamBuffer.h
 include/lldb/Core/StreamFile.h
 include/lldb/Core/StructuredDataImpl.h
-include/lldb/Core/ThreadSafeDenseMap.h
 include/lldb/Core/ThreadSafeDenseSet.h
 include/lldb/Core/ThreadSafeValue.h
 include/lldb/Core/ThreadedCommunication.h
@@ -196,6 +196,7 @@ include/lldb/Expression/IRInterpreter.h
 include/lldb/Expression/IRMemoryMap.h
 include/lldb/Expression/LLVMUserExpression.h
 include/lldb/Expression/Materializer.h
+include/lldb/Expression/ObjectFileJIT.h
 include/lldb/Expression/REPL.h
 include/lldb/Expression/UserExpression.h
 include/lldb/Expression/UtilityFunction.h
@@ -248,6 +249,7 @@ include/lldb/Host/common/NativeThreadProtocol.h
 include/lldb/Host/common/NativeWatchpointList.h
 include/lldb/Host/common/TCPSocket.h
 include/lldb/Host/common/UDPSocket.h
+include/lldb/Host/common/ZipFileResolver.h
 include/lldb/Host/freebsd/HostInfoFreeBSD.h
 include/lldb/Host/linux/AbstractSocket.h
 include/lldb/Host/linux/Host.h
@@ -331,8 +333,8 @@ include/lldb/Interpreter/OptionValues.h
 include/lldb/Interpreter/Options.h
 include/lldb/Interpreter/Property.h
 include/lldb/Interpreter/ScriptInterpreter.h
+include/lldb/Interpreter/ScriptObject.h
 include/lldb/Interpreter/ScriptedInterface.h
-include/lldb/Interpreter/ScriptedMetadata.h
 include/lldb/Interpreter/ScriptedPlatformInterface.h
 include/lldb/Interpreter/ScriptedProcessInterface.h
 include/lldb/Symbol/ArmUnwindInfo.h
@@ -403,7 +405,9 @@ include/lldb/Target/QueueList.h
 include/lldb/Target/RegisterCheckpoint.h
 include/lldb/Target/RegisterContext.h
 include/lldb/Target/RegisterContextUnwind.h
+include/lldb/Target/RegisterFlags.h
 include/lldb/Target/RegisterNumber.h
+include/lldb/Target/RegisterTypeBuilder.h
 include/lldb/Target/RemoteAwarePlatform.h
 include/lldb/Target/Runtime.h
 include/lldb/Target/SectionLoadHistory.h
@@ -468,6 +472,7 @@ include/lldb/Utility/Endian.h
 include/lldb/Utility/Environment.h
 include/lldb/Utility/Event.h
 include/lldb/Utility/FileSpec.h
+include/lldb/Utility/FileSpecList.h
 include/lldb/Utility/Flags.h
 include/lldb/Utility/GDBRemote.h
 include/lldb/Utility/IOObject.h
@@ -485,6 +490,7 @@ include/lldb/Utility/RangeMap.h
 include/lldb/Utility/RegisterValue.h
 include/lldb/Utility/RegularExpression.h
 include/lldb/Utility/Scalar.h
+include/lldb/Utility/ScriptedMetadata.h
 include/lldb/Utility/SelectHelper.h
 include/lldb/Utility/SharedCluster.h
 include/lldb/Utility/State.h
@@ -497,6 +503,7 @@ include/lldb/Utility/StringExtractorGDBRemote.h
 include/lldb/Utility/StringLexer.h
 include/lldb/Utility/StringList.h
 include/lldb/Utility/StructuredData.h
+include/lldb/Utility/ThreadSafeDenseMap.h
 include/lldb/Utility/TildeExpressionResolver.h
 include/lldb/Utility/Timeout.h
 include/lldb/Utility/Timer.h
@@ -510,6 +517,7 @@ include/lldb/Utility/UserIDResolver.h
 include/lldb/Utility/VASPrintf.h
 include/lldb/Utility/VMRange.h
 include/lldb/Utility/XcodeSDK.h
+include/lldb/Utility/ZipFile.h
 include/lldb/Version/Version.h
 include/lldb/lldb-defines.h
 include/lldb/lldb-enumerations.h
@@ -523,8 +531,8 @@ include/lldb/lldb-public.h
 include/lldb/lldb-types.h
 include/lldb/lldb-versioning.h
 lib/liblldb.so
-lib/liblldb.so.${PKGVERSION}
 lib/liblldb.so.${LLVM_MAJOR_VERSION}
+lib/liblldb.so.${PKGVERSION}
 lib/lua/5.3/lldb.so
 ${PYSITELIB}/lldb/__init__.py
 ${PYSITELIB}/lldb/_lldb.so
diff --git a/lldb/distinfo b/lldb/distinfo
index 8aa3249960..5d91e5c160 100644
--- a/lldb/distinfo
+++ b/lldb/distinfo
@@ -1,15 +1,17 @@
 $NetBSD: distinfo,v 1.35 2023/01/12 19:32:53 adam Exp $
 
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-BLAKE2s (lldb-16.0.6.src.tar.xz) = d518f96053246530b3af6e3bcbabc17bca2df261b6ca40ff313da7f7eca735c5
-SHA512 (lldb-16.0.6.src.tar.xz) = 85c611c362d96b302df9b981bb9c8bd754938d0b55c5e24220f333300b48ac9bd3b7eb708be1f3ba9dcfbebe621e6562841b38d8458110452e5cc06c714e8d10
-Size (lldb-16.0.6.src.tar.xz) = 10378280 bytes
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+BLAKE2s (lldb-17.0.3.src.tar.xz) = b828739103f34a6bbe6dda39a8635d616c09c8fb3a598b51e60a13744aec19d1
+SHA512 (lldb-17.0.3.src.tar.xz) = c89a596112a13fdbf8b9db0c351e51963069875e8e633266f89851c8210ac6a363518100a5e1d53f24e02669b59928877615b41ad12d3e14394982a6fa3f3351
+Size (lldb-17.0.3.src.tar.xz) = 10492900 bytes
+BLAKE2s (runtimes-17.0.3.src.tar.xz) = 213f23b58df3b54da5b3445edee29734519bcf8508b294e981dfd70348bfeb35
+SHA512 (runtimes-17.0.3.src.tar.xz) = 7c00e8c8b9f3eeeb07f7c15b076ed120b968728b98699952a3afb6102133e1106ee2e2a90062056fd2d8e1e038648cb22e1ef676abe060cc2e049d50df8730cc
+Size (runtimes-17.0.3.src.tar.xz) = 6244 bytes
 SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 773d420c3fd2c9b4af6af9d42c5778e96a1ae52b
 SHA1 (patch-source_API_CMakeLists.txt) = 23a7b24632f937a4541863aff6a7591255cafe40
 SHA1 (patch-source_Host_common_Editline.cpp) = 40d78016a3932b77f7176628bfa60b3c96b80c6a
 SHA1 (patch-source_Host_netbsd_HostNetBSD.cpp) = 8c19657d90ffea176b1297331fd23a8b565c6f1d
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = 15c6d8399198de567b4e901533e1b1f77d9e348f
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h) = 26a7298b835b97b89257975f7e87f0f8225e5f99
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD__x86__64.cpp) = 23ff593c187501dc91c3f2f49fd341176e75a264
diff --git a/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD__x86__64.cpp b/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD__x86__64.cpp
deleted file mode 100644
index b309183207..0000000000
--- a/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD__x86__64.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD$
-
-submitted upstream as https://reviews.llvm.org/D150032
-
---- source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp.orig	2023-05-06 11:31:19.992492217 +0200
-+++ source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp	2023-05-06 11:32:24.079405876 +0200
-@@ -409,7 +409,7 @@
-     return error;
-   }
- 
--  RegSetKind set = opt_set.getValue();
-+  RegSetKind set = *opt_set;
-   error = ReadRegisterSet(set);
-   if (error.Fail())
-     return error;
-@@ -476,7 +476,7 @@
-     return error;
-   }
- 
--  RegSetKind set = opt_set.getValue();
-+  RegSetKind set = *opt_set;
-   uint64_t new_xstate_bv = 0;
- 
-   error = ReadRegisterSet(set);
diff --git a/llvm/PLIST b/llvm/PLIST
index 8cc5d3040b..fa897b5add 100644
--- a/llvm/PLIST
+++ b/llvm/PLIST
@@ -103,7 +103,6 @@ include/llvm-c/ErrorHandling.h
 include/llvm-c/ExecutionEngine.h
 include/llvm-c/ExternC.h
 include/llvm-c/IRReader.h
-include/llvm-c/Initialization.h
 include/llvm-c/LLJIT.h
 include/llvm-c/Linker.h
 include/llvm-c/Object.h
@@ -113,16 +112,11 @@ include/llvm-c/Remarks.h
 include/llvm-c/Support.h
 include/llvm-c/Target.h
 include/llvm-c/TargetMachine.h
-include/llvm-c/Transforms/IPO.h
-include/llvm-c/Transforms/InstCombine.h
 include/llvm-c/Transforms/PassBuilder.h
-include/llvm-c/Transforms/PassManagerBuilder.h
-include/llvm-c/Transforms/Scalar.h
-include/llvm-c/Transforms/Utils.h
-include/llvm-c/Transforms/Vectorize.h
 include/llvm-c/Types.h
 include/llvm-c/blake3.h
 include/llvm-c/lto.h
+include/llvm/ADT/ADL.h
 include/llvm/ADT/APFixedPoint.h
 include/llvm/ADT/APFloat.h
 include/llvm/ADT/APInt.h
@@ -138,10 +132,12 @@ include/llvm/ADT/BreadthFirstIterator.h
 include/llvm/ADT/CachedHashString.h
 include/llvm/ADT/CoalescingBitVector.h
 include/llvm/ADT/CombinationGenerator.h
+include/llvm/ADT/ConcurrentHashtable.h
 include/llvm/ADT/DAGDeltaAlgorithm.h
 include/llvm/ADT/DeltaAlgorithm.h
 include/llvm/ADT/DenseMap.h
 include/llvm/ADT/DenseMapInfo.h
+include/llvm/ADT/DenseMapInfoVariant.h
 include/llvm/ADT/DenseSet.h
 include/llvm/ADT/DepthFirstIterator.h
 include/llvm/ADT/DirectedGraph.h
@@ -167,8 +163,6 @@ include/llvm/ADT/IntervalMap.h
 include/llvm/ADT/IntervalTree.h
 include/llvm/ADT/IntrusiveRefCntPtr.h
 include/llvm/ADT/MapVector.h
-include/llvm/ADT/None.h
-include/llvm/ADT/Optional.h
 include/llvm/ADT/PackedVector.h
 include/llvm/ADT/PointerEmbeddedInt.h
 include/llvm/ADT/PointerIntPair.h
@@ -191,6 +185,7 @@ include/llvm/ADT/SmallPtrSet.h
 include/llvm/ADT/SmallSet.h
 include/llvm/ADT/SmallString.h
 include/llvm/ADT/SmallVector.h
+include/llvm/ADT/SmallVectorExtras.h
 include/llvm/ADT/SparseBitVector.h
 include/llvm/ADT/SparseMultiSet.h
 include/llvm/ADT/SparseSet.h
@@ -202,7 +197,6 @@ include/llvm/ADT/StringRef.h
 include/llvm/ADT/StringSet.h
 include/llvm/ADT/StringSwitch.h
 include/llvm/ADT/TinyPtrVector.h
-include/llvm/ADT/Triple.h
 include/llvm/ADT/Twine.h
 include/llvm/ADT/TypeSwitch.h
 include/llvm/ADT/Uniformity.h
@@ -250,12 +244,11 @@ include/llvm/Analysis/Delinearization.h
 include/llvm/Analysis/DemandedBits.h
 include/llvm/Analysis/DependenceAnalysis.h
 include/llvm/Analysis/DependenceGraphBuilder.h
-include/llvm/Analysis/DivergenceAnalysis.h
 include/llvm/Analysis/DomPrinter.h
 include/llvm/Analysis/DomTreeUpdater.h
 include/llvm/Analysis/DominanceFrontier.h
 include/llvm/Analysis/DominanceFrontierImpl.h
-include/llvm/Analysis/EHPersonalities.h
+include/llvm/Analysis/EHUtils.h
 include/llvm/Analysis/FunctionPropertiesAnalysis.h
 include/llvm/Analysis/GlobalsModRef.h
 include/llvm/Analysis/GuardUtils.h
@@ -274,6 +267,7 @@ include/llvm/Analysis/InstCount.h
 include/llvm/Analysis/InstSimplifyFolder.h
 include/llvm/Analysis/InstructionPrecedenceTracking.h
 include/llvm/Analysis/InstructionSimplify.h
+include/llvm/Analysis/InteractiveModelRunner.h
 include/llvm/Analysis/Interval.h
 include/llvm/Analysis/IntervalIterator.h
 include/llvm/Analysis/IntervalPartition.h
@@ -282,14 +276,12 @@ include/llvm/Analysis/LazyBlockFrequencyInfo.h
 include/llvm/Analysis/LazyBranchProbabilityInfo.h
 include/llvm/Analysis/LazyCallGraph.h
 include/llvm/Analysis/LazyValueInfo.h
-include/llvm/Analysis/LegacyDivergenceAnalysis.h
 include/llvm/Analysis/Lint.h
 include/llvm/Analysis/Loads.h
 include/llvm/Analysis/LoopAccessAnalysis.h
 include/llvm/Analysis/LoopAnalysisManager.h
 include/llvm/Analysis/LoopCacheAnalysis.h
 include/llvm/Analysis/LoopInfo.h
-include/llvm/Analysis/LoopInfoImpl.h
 include/llvm/Analysis/LoopIterator.h
 include/llvm/Analysis/LoopNestAnalysis.h
 include/llvm/Analysis/LoopPass.h
@@ -337,7 +329,6 @@ include/llvm/Analysis/ScopedNoAliasAA.h
 include/llvm/Analysis/SparsePropagation.h
 include/llvm/Analysis/StackLifetime.h
 include/llvm/Analysis/StackSafetyAnalysis.h
-include/llvm/Analysis/SyncDependenceAnalysis.h
 include/llvm/Analysis/SyntheticCountsUtils.h
 include/llvm/Analysis/TargetFolder.h
 include/llvm/Analysis/TargetLibraryInfo.def
@@ -431,6 +422,7 @@ include/llvm/CodeGen/AtomicExpandUtils.h
 include/llvm/CodeGen/BasicBlockSectionUtils.h
 include/llvm/CodeGen/BasicBlockSectionsProfileReader.h
 include/llvm/CodeGen/BasicTTIImpl.h
+include/llvm/CodeGen/ByteProvider.h
 include/llvm/CodeGen/CFIFixup.h
 include/llvm/CodeGen/CSEConfigBase.h
 include/llvm/CodeGen/CalcSpillWeights.h
@@ -446,6 +438,7 @@ include/llvm/CodeGen/DIE.h
 include/llvm/CodeGen/DIEValue.def
 include/llvm/CodeGen/DbgEntityHistoryCalculator.h
 include/llvm/CodeGen/DebugHandlerBase.h
+include/llvm/CodeGen/DetectDeadLanes.h
 include/llvm/CodeGen/DwarfStringPoolEntry.h
 include/llvm/CodeGen/EdgeBundles.h
 include/llvm/CodeGen/ExecutionDomainFix.h
@@ -456,12 +449,15 @@ include/llvm/CodeGen/FaultMaps.h
 include/llvm/CodeGen/FunctionLoweringInfo.h
 include/llvm/CodeGen/GCMetadata.h
 include/llvm/CodeGen/GCMetadataPrinter.h
+include/llvm/CodeGen/GenVT.inc
 include/llvm/CodeGen/GlobalISel/CSEInfo.h
 include/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h
 include/llvm/CodeGen/GlobalISel/CallLowering.h
 include/llvm/CodeGen/GlobalISel/Combiner.h
 include/llvm/CodeGen/GlobalISel/CombinerHelper.h
 include/llvm/CodeGen/GlobalISel/CombinerInfo.h
+include/llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h
+include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
 include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h
 include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
 include/llvm/CodeGen/GlobalISel/GISelWorkList.h
@@ -470,7 +466,6 @@ include/llvm/CodeGen/GlobalISel/IRTranslator.h
 include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h
 include/llvm/CodeGen/GlobalISel/InstructionSelect.h
 include/llvm/CodeGen/GlobalISel/InstructionSelector.h
-include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
 include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h
 include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
 include/llvm/CodeGen/GlobalISel/Legalizer.h
@@ -483,6 +478,7 @@ include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
 include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
 include/llvm/CodeGen/GlobalISel/RegBankSelect.h
 include/llvm/CodeGen/GlobalISel/Utils.h
+include/llvm/CodeGen/HardwareLoops.h
 include/llvm/CodeGen/ISDOpcodes.h
 include/llvm/CodeGen/IndirectThunks.h
 include/llvm/CodeGen/IntrinsicLowering.h
@@ -504,6 +500,7 @@ include/llvm/CodeGen/LiveStacks.h
 include/llvm/CodeGen/LiveVariables.h
 include/llvm/CodeGen/LoopTraversal.h
 include/llvm/CodeGen/LowLevelType.h
+include/llvm/CodeGen/LowLevelTypeUtils.h
 include/llvm/CodeGen/MBFIWrapper.h
 include/llvm/CodeGen/MIRFSDiscriminator.h
 include/llvm/CodeGen/MIRFormatter.h
@@ -553,6 +550,7 @@ include/llvm/CodeGen/MachineSizeOpts.h
 include/llvm/CodeGen/MachineStableHash.h
 include/llvm/CodeGen/MachineTraceMetrics.h
 include/llvm/CodeGen/MachineUniformityAnalysis.h
+include/llvm/CodeGen/MachineValueType.h
 include/llvm/CodeGen/MacroFusion.h
 include/llvm/CodeGen/ModuloSchedule.h
 include/llvm/CodeGen/MultiHazardRecognizer.h
@@ -622,6 +620,7 @@ include/llvm/CodeGen/VLIWMachineScheduler.h
 include/llvm/CodeGen/ValueTypes.h
 include/llvm/CodeGen/ValueTypes.td
 include/llvm/CodeGen/VirtRegMap.h
+include/llvm/CodeGen/WasmAddressSpaces.h
 include/llvm/CodeGen/WasmEHFuncInfo.h
 include/llvm/CodeGen/WinEHFuncInfo.h
 include/llvm/Config/AsmParsers.def
@@ -636,10 +635,18 @@ include/llvm/DWARFLinker/DWARFLinker.h
 include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h
 include/llvm/DWARFLinker/DWARFLinkerDeclContext.h
 include/llvm/DWARFLinker/DWARFStreamer.h
+include/llvm/DWARFLinkerParallel/AddressesMap.h
+include/llvm/DWARFLinkerParallel/DWARFFile.h
 include/llvm/DWARFLinkerParallel/DWARFLinker.h
+include/llvm/DWARFLinkerParallel/StringPool.h
+include/llvm/DWARFLinkerParallel/StringTable.h
 include/llvm/DWP/DWP.h
 include/llvm/DWP/DWPError.h
 include/llvm/DWP/DWPStringPool.h
+include/llvm/DebugInfo/BTF/BTF.def
+include/llvm/DebugInfo/BTF/BTF.h
+include/llvm/DebugInfo/BTF/BTFContext.h
+include/llvm/DebugInfo/BTF/BTFParser.h
 include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h
 include/llvm/DebugInfo/CodeView/CVRecord.h
 include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h
@@ -764,6 +771,8 @@ include/llvm/DebugInfo/LogicalView/Core/LVSymbol.h
 include/llvm/DebugInfo/LogicalView/Core/LVType.h
 include/llvm/DebugInfo/LogicalView/LVReaderHandler.h
 include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h
+include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewReader.h
+include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.h
 include/llvm/DebugInfo/LogicalView/Readers/LVELFReader.h
 include/llvm/DebugInfo/MSF/IMSFFile.h
 include/llvm/DebugInfo/MSF/MSFBuilder.h
@@ -913,7 +922,7 @@ include/llvm/Demangle/ItaniumDemangle.h
 include/llvm/Demangle/ItaniumNodes.def
 include/llvm/Demangle/MicrosoftDemangle.h
 include/llvm/Demangle/MicrosoftDemangleNodes.h
-include/llvm/Demangle/StringView.h
+include/llvm/Demangle/StringViewExtras.h
 include/llvm/Demangle/Utility.h
 include/llvm/ExecutionEngine/ExecutionEngine.h
 include/llvm/ExecutionEngine/GenericValue.h
@@ -924,9 +933,11 @@ include/llvm/ExecutionEngine/JITLink/COFF_x86_64.h
 include/llvm/ExecutionEngine/JITLink/DWARFRecordSectionSplitter.h
 include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h
 include/llvm/ExecutionEngine/JITLink/ELF.h
+include/llvm/ExecutionEngine/JITLink/ELF_aarch32.h
 include/llvm/ExecutionEngine/JITLink/ELF_aarch64.h
 include/llvm/ExecutionEngine/JITLink/ELF_i386.h
 include/llvm/ExecutionEngine/JITLink/ELF_loongarch.h
+include/llvm/ExecutionEngine/JITLink/ELF_ppc64.h
 include/llvm/ExecutionEngine/JITLink/ELF_riscv.h
 include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h
 include/llvm/ExecutionEngine/JITLink/JITLink.h
@@ -936,9 +947,11 @@ include/llvm/ExecutionEngine/JITLink/MachO.h
 include/llvm/ExecutionEngine/JITLink/MachO_arm64.h
 include/llvm/ExecutionEngine/JITLink/MachO_x86_64.h
 include/llvm/ExecutionEngine/JITLink/TableManager.h
+include/llvm/ExecutionEngine/JITLink/aarch32.h
 include/llvm/ExecutionEngine/JITLink/aarch64.h
 include/llvm/ExecutionEngine/JITLink/i386.h
 include/llvm/ExecutionEngine/JITLink/loongarch.h
+include/llvm/ExecutionEngine/JITLink/ppc64.h
 include/llvm/ExecutionEngine/JITLink/riscv.h
 include/llvm/ExecutionEngine/JITLink/x86_64.h
 include/llvm/ExecutionEngine/JITSymbol.h
@@ -983,7 +996,9 @@ include/llvm/ExecutionEngine/Orc/OrcABISupport.h
 include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
 include/llvm/ExecutionEngine/Orc/Shared/AllocationActions.h
 include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h
+include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h
 include/llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h
+include/llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h
 include/llvm/ExecutionEngine/Orc/Shared/OrcError.h
 include/llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h
 include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h
@@ -1009,6 +1024,7 @@ include/llvm/ExecutionEngine/RuntimeDyld.h
 include/llvm/ExecutionEngine/RuntimeDyldChecker.h
 include/llvm/ExecutionEngine/SectionMemoryManager.h
 include/llvm/FileCheck/FileCheck.h
+include/llvm/Frontend/Debug/Options.h
 include/llvm/Frontend/Directive/DirectiveBase.td
 include/llvm/Frontend/HLSL/HLSLResource.h
 include/llvm/Frontend/OpenACC/ACC.h.inc
@@ -1034,6 +1050,7 @@ include/llvm/IR/AbstractCallSite.h
 include/llvm/IR/Argument.h
 include/llvm/IR/AssemblyAnnotationWriter.h
 include/llvm/IR/Assumptions.h
+include/llvm/IR/AttributeMask.h
 include/llvm/IR/Attributes.h
 include/llvm/IR/Attributes.inc
 include/llvm/IR/Attributes.td
@@ -1049,6 +1066,7 @@ include/llvm/IR/ConstantFolder.h
 include/llvm/IR/ConstantRange.h
 include/llvm/IR/Constants.h
 include/llvm/IR/ConstrainedOps.def
+include/llvm/IR/CycleInfo.h
 include/llvm/IR/DIBuilder.h
 include/llvm/IR/DataLayout.h
 include/llvm/IR/DebugInfo.h
@@ -1061,6 +1079,7 @@ include/llvm/IR/DiagnosticHandler.h
 include/llvm/IR/DiagnosticInfo.h
 include/llvm/IR/DiagnosticPrinter.h
 include/llvm/IR/Dominators.h
+include/llvm/IR/EHPersonalities.h
 include/llvm/IR/FMF.h
 include/llvm/IR/FPEnv.h
 include/llvm/IR/FixedMetadataKinds.def
@@ -1114,6 +1133,7 @@ include/llvm/IR/IntrinsicsR600.h
 include/llvm/IR/IntrinsicsRISCV.h
 include/llvm/IR/IntrinsicsRISCV.td
 include/llvm/IR/IntrinsicsRISCVXTHead.td
+include/llvm/IR/IntrinsicsRISCVXsf.td
 include/llvm/IR/IntrinsicsS390.h
 include/llvm/IR/IntrinsicsSPIRV.h
 include/llvm/IR/IntrinsicsSPIRV.td
@@ -1198,6 +1218,7 @@ include/llvm/LinkAllPasses.h
 include/llvm/Linker/IRMover.h
 include/llvm/Linker/Linker.h
 include/llvm/MC/ConstantPools.h
+include/llvm/MC/DXContainerPSVInfo.h
 include/llvm/MC/LaneBitmask.h
 include/llvm/MC/MCAsmBackend.h
 include/llvm/MC/MCAsmInfo.h
@@ -1287,7 +1308,6 @@ include/llvm/MC/MCXCOFFStreamer.h
 include/llvm/MC/MachineLocation.h
 include/llvm/MC/SectionKind.h
 include/llvm/MC/StringTableBuilder.h
-include/llvm/MC/SubtargetFeature.h
 include/llvm/MC/TargetRegistry.h
 include/llvm/MCA/CodeEmitter.h
 include/llvm/MCA/Context.h
@@ -1343,6 +1363,8 @@ include/llvm/Object/ELFObjectFile.h
 include/llvm/Object/ELFTypes.h
 include/llvm/Object/Error.h
 include/llvm/Object/FaultMapParser.h
+include/llvm/Object/GOFF.h
+include/llvm/Object/GOFFObjectFile.h
 include/llvm/Object/IRObjectFile.h
 include/llvm/Object/IRSymtab.h
 include/llvm/Object/MachO.h
@@ -1404,6 +1426,7 @@ include/llvm/ProfileData/InstrProfCorrelator.h
 include/llvm/ProfileData/InstrProfData.inc
 include/llvm/ProfileData/InstrProfReader.h
 include/llvm/ProfileData/InstrProfWriter.h
+include/llvm/ProfileData/ItaniumManglingCanonicalizer.h
 include/llvm/ProfileData/MIBEntryDef.inc
 include/llvm/ProfileData/MemProf.h
 include/llvm/ProfileData/MemProfData.inc
@@ -1412,6 +1435,7 @@ include/llvm/ProfileData/RawMemProfReader.h
 include/llvm/ProfileData/SampleProf.h
 include/llvm/ProfileData/SampleProfReader.h
 include/llvm/ProfileData/SampleProfWriter.h
+include/llvm/ProfileData/SymbolRemappingReader.h
 include/llvm/Remarks/BitstreamRemarkContainer.h
 include/llvm/Remarks/BitstreamRemarkParser.h
 include/llvm/Remarks/BitstreamRemarkSerializer.h
@@ -1424,14 +1448,11 @@ include/llvm/Remarks/RemarkSerializer.h
 include/llvm/Remarks/RemarkStreamer.h
 include/llvm/Remarks/RemarkStringTable.h
 include/llvm/Remarks/YAMLRemarkSerializer.h
-include/llvm/Support/AArch64TargetParser.h
 include/llvm/Support/AMDGPUMetadata.h
 include/llvm/Support/AMDHSAKernelDescriptor.h
 include/llvm/Support/ARMAttributeParser.h
 include/llvm/Support/ARMBuildAttributes.h
 include/llvm/Support/ARMEHABI.h
-include/llvm/Support/ARMTargetParser.h
-include/llvm/Support/ARMTargetParserCommon.h
 include/llvm/Support/ARMWinEH.h
 include/llvm/Support/AlignOf.h
 include/llvm/Support/Alignment.h
@@ -1444,6 +1465,7 @@ include/llvm/Support/AutoConvert.h
 include/llvm/Support/Automaton.h
 include/llvm/Support/BCD.h
 include/llvm/Support/BLAKE3.h
+include/llvm/Support/BalancedPartitioning.h
 include/llvm/Support/Base64.h
 include/llvm/Support/BinaryByteStream.h
 include/llvm/Support/BinaryItemStream.h
@@ -1463,7 +1485,6 @@ include/llvm/Support/COM.h
 include/llvm/Support/CRC.h
 include/llvm/Support/CSKYAttributeParser.h
 include/llvm/Support/CSKYAttributes.h
-include/llvm/Support/CSKYTargetParser.h
 include/llvm/Support/CachePruning.h
 include/llvm/Support/Caching.h
 include/llvm/Support/Capacity.h
@@ -1475,6 +1496,7 @@ include/llvm/Support/CodeGenCoverage.h
 include/llvm/Support/CommandLine.h
 include/llvm/Support/Compiler.h
 include/llvm/Support/Compression.h
+include/llvm/Support/ConvertEBCDIC.h
 include/llvm/Support/ConvertUTF.h
 include/llvm/Support/CrashRecoveryContext.h
 include/llvm/Support/DJB.h
@@ -1515,27 +1537,26 @@ include/llvm/Support/FormattedStream.h
 include/llvm/Support/GenericDomTree.h
 include/llvm/Support/GenericDomTreeConstruction.h
 include/llvm/Support/GenericIteratedDominanceFrontier.h
+include/llvm/Support/GenericLoopInfo.h
+include/llvm/Support/GenericLoopInfoImpl.h
 include/llvm/Support/GlobPattern.h
 include/llvm/Support/GraphWriter.h
 include/llvm/Support/HashBuilder.h
 include/llvm/Support/Host.h
 include/llvm/Support/InitLLVM.h
 include/llvm/Support/InstructionCost.h
-include/llvm/Support/ItaniumManglingCanonicalizer.h
 include/llvm/Support/JSON.h
 include/llvm/Support/KnownBits.h
 include/llvm/Support/LEB128.h
 include/llvm/Support/LICENSE.TXT
+include/llvm/Support/LLVMDriver.h
 include/llvm/Support/LineIterator.h
 include/llvm/Support/Locale.h
 include/llvm/Support/LockFileManager.h
-include/llvm/Support/LoongArchTargetParser.h
-include/llvm/Support/LowLevelTypeImpl.h
 include/llvm/Support/MD5.h
 include/llvm/Support/MSP430AttributeParser.h
 include/llvm/Support/MSP430Attributes.h
 include/llvm/Support/MSVCErrorWorkarounds.h
-include/llvm/Support/MachineValueType.h
 include/llvm/Support/ManagedStatic.h
 include/llvm/Support/MathExtras.h
 include/llvm/Support/MemAlloc.h
@@ -1551,6 +1572,7 @@ include/llvm/Support/OptimizedStructLayout.h
 include/llvm/Support/PGOOptions.h
 include/llvm/Support/Parallel.h
 include/llvm/Support/Path.h
+include/llvm/Support/PerThreadBumpPtrAllocator.h
 include/llvm/Support/PluginLoader.h
 include/llvm/Support/PointerLikeTypeTraits.h
 include/llvm/Support/PrettyStackTrace.h
@@ -1582,21 +1604,18 @@ include/llvm/Support/SourceMgr.h
 include/llvm/Support/SpecialCaseList.h
 include/llvm/Support/StringSaver.h
 include/llvm/Support/SuffixTree.h
+include/llvm/Support/SuffixTreeNode.h
 include/llvm/Support/SwapByteOrder.h
-include/llvm/Support/SymbolRemappingReader.h
 include/llvm/Support/SystemUtils.h
 include/llvm/Support/TarWriter.h
 include/llvm/Support/TargetOpcodes.def
-include/llvm/Support/TargetParser.h
 include/llvm/Support/TargetSelect.h
-include/llvm/Support/TaskQueue.h
 include/llvm/Support/ThreadPool.h
 include/llvm/Support/Threading.h
 include/llvm/Support/TimeProfiler.h
 include/llvm/Support/Timer.h
 include/llvm/Support/ToolOutputFile.h
 include/llvm/Support/TrailingObjects.h
-include/llvm/Support/TrigramIndex.h
 include/llvm/Support/TypeName.h
 include/llvm/Support/TypeSize.h
 include/llvm/Support/Unicode.h
@@ -1611,8 +1630,7 @@ include/llvm/Support/Windows/WindowsSupport.h
 include/llvm/Support/WindowsError.h
 include/llvm/Support/WithColor.h
 include/llvm/Support/X86DisassemblerDecoderCommon.h
-include/llvm/Support/X86TargetParser.def
-include/llvm/Support/X86TargetParser.h
+include/llvm/Support/X86FoldTablesUtils.h
 include/llvm/Support/YAMLParser.h
 include/llvm/Support/YAMLTraits.h
 include/llvm/Support/circular_raw_ostream.h
@@ -1662,6 +1680,7 @@ include/llvm/TargetParser/LoongArchTargetParser.def
 include/llvm/TargetParser/LoongArchTargetParser.h
 include/llvm/TargetParser/RISCVTargetParser.h
 include/llvm/TargetParser/RISCVTargetParserDef.inc
+include/llvm/TargetParser/SubtargetFeature.h
 include/llvm/TargetParser/TargetParser.h
 include/llvm/TargetParser/Triple.h
 include/llvm/TargetParser/X86TargetParser.def
@@ -1678,6 +1697,7 @@ include/llvm/TextAPI/InterfaceFile.h
 include/llvm/TextAPI/PackedVersion.h
 include/llvm/TextAPI/Platform.h
 include/llvm/TextAPI/Symbol.h
+include/llvm/TextAPI/SymbolSet.h
 include/llvm/TextAPI/Target.h
 include/llvm/TextAPI/TextAPIReader.h
 include/llvm/TextAPI/TextAPIWriter.h
@@ -1701,6 +1721,7 @@ include/llvm/Transforms/IPO/ConstantMerge.h
 include/llvm/Transforms/IPO/CrossDSOCFI.h
 include/llvm/Transforms/IPO/DeadArgumentElimination.h
 include/llvm/Transforms/IPO/ElimAvailExtern.h
+include/llvm/Transforms/IPO/EmbedBitcodePass.h
 include/llvm/Transforms/IPO/ExtractGV.h
 include/llvm/Transforms/IPO/ForceFunctionAttrs.h
 include/llvm/Transforms/IPO/FunctionAttrs.h
@@ -1716,11 +1737,11 @@ include/llvm/Transforms/IPO/Inliner.h
 include/llvm/Transforms/IPO/Internalize.h
 include/llvm/Transforms/IPO/LoopExtractor.h
 include/llvm/Transforms/IPO/LowerTypeTests.h
+include/llvm/Transforms/IPO/MemProfContextDisambiguation.h
 include/llvm/Transforms/IPO/MergeFunctions.h
 include/llvm/Transforms/IPO/ModuleInliner.h
 include/llvm/Transforms/IPO/OpenMPOpt.h
 include/llvm/Transforms/IPO/PartialInlining.h
-include/llvm/Transforms/IPO/PassManagerBuilder.h
 include/llvm/Transforms/IPO/ProfiledCallGraph.h
 include/llvm/Transforms/IPO/SCCP.h
 include/llvm/Transforms/IPO/SampleContextTracker.h
@@ -1737,7 +1758,9 @@ include/llvm/Transforms/Instrumentation.h
 include/llvm/Transforms/Instrumentation/AddressSanitizer.h
 include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
 include/llvm/Transforms/Instrumentation/AddressSanitizerOptions.h
+include/llvm/Transforms/Instrumentation/BlockCoverageInference.h
 include/llvm/Transforms/Instrumentation/BoundsChecking.h
+include/llvm/Transforms/Instrumentation/CFGMST.h
 include/llvm/Transforms/Instrumentation/CGProfile.h
 include/llvm/Transforms/Instrumentation/ControlHeightReduction.h
 include/llvm/Transforms/Instrumentation/DataFlowSanitizer.h
@@ -1814,6 +1837,7 @@ include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h
 include/llvm/Transforms/Scalar/NaryReassociate.h
 include/llvm/Transforms/Scalar/NewGVN.h
 include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h
+include/llvm/Transforms/Scalar/PlaceSafepoints.h
 include/llvm/Transforms/Scalar/Reassociate.h
 include/llvm/Transforms/Scalar/Reg2Mem.h
 include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h
@@ -1848,6 +1872,7 @@ include/llvm/Transforms/Utils/Cloning.h
 include/llvm/Transforms/Utils/CodeExtractor.h
 include/llvm/Transforms/Utils/CodeLayout.h
 include/llvm/Transforms/Utils/CodeMoverUtils.h
+include/llvm/Transforms/Utils/CountVisits.h
 include/llvm/Transforms/Utils/CtorUtils.h
 include/llvm/Transforms/Utils/Debugify.h
 include/llvm/Transforms/Utils/EntryExitInstrumenter.h
@@ -1884,6 +1909,7 @@ include/llvm/Transforms/Utils/MemoryTaggingSupport.h
 include/llvm/Transforms/Utils/MetaRenamer.h
 include/llvm/Transforms/Utils/MisExpect.h
 include/llvm/Transforms/Utils/ModuleUtils.h
+include/llvm/Transforms/Utils/MoveAutoInit.h
 include/llvm/Transforms/Utils/NameAnonGlobals.h
 include/llvm/Transforms/Utils/PredicateInfo.h
 include/llvm/Transforms/Utils/PromoteMemToReg.h
@@ -1950,6 +1976,7 @@ lib/cmake/llvm/CoverageReport.cmake
 lib/cmake/llvm/CrossCompile.cmake
 lib/cmake/llvm/DetermineGCCCompatible.cmake
 lib/cmake/llvm/FindFFI.cmake
+lib/cmake/llvm/FindLibEdit.cmake
 lib/cmake/llvm/FindLibpfm.cmake
 lib/cmake/llvm/FindOCaml.cmake
 lib/cmake/llvm/FindSphinx.cmake
@@ -1980,7 +2007,7 @@ lib/cmake/llvm/UseLibtool.cmake
 lib/cmake/llvm/VersionFromVCS.cmake
 lib/cmake/llvm/llvm-driver-template.cpp.in
 lib/libLLVM-${PKGVERSION}.${SOEXT}
-lib/libLLVM-16.${SOEXT}
+lib/libLLVM-17.${SOEXT}
 lib/libLLVM.${SOEXT}
 ${PLIST.AArch64}lib/libLLVMAArch64AsmParser.a
 ${PLIST.AArch64}lib/libLLVMAArch64CodeGen.a
@@ -2031,12 +2058,14 @@ ${PLIST.CSKY}lib/libLLVMCSKYDesc.a
 ${PLIST.CSKY}lib/libLLVMCSKYDisassembler.a
 ${PLIST.CSKY}lib/libLLVMCSKYInfo.a
 lib/libLLVMCodeGen.a
+lib/libLLVMCodeGenTypes.a
 lib/libLLVMCore.a
 lib/libLLVMCoroutines.a
 lib/libLLVMCoverage.a
 lib/libLLVMDWARFLinker.a
 lib/libLLVMDWARFLinkerParallel.a
 lib/libLLVMDWP.a
+lib/libLLVMDebugInfoBTF.a
 lib/libLLVMDebugInfoCodeView.a
 lib/libLLVMDebugInfoDWARF.a
 lib/libLLVMDebugInfoGSYM.a
@@ -2144,6 +2173,7 @@ ${PLIST.SystemZ}lib/libLLVMSystemZDesc.a
 ${PLIST.SystemZ}lib/libLLVMSystemZDisassembler.a
 ${PLIST.SystemZ}lib/libLLVMSystemZInfo.a
 lib/libLLVMTableGen.a
+lib/libLLVMTableGenCommon.a
 lib/libLLVMTableGenGlobalISel.a
 lib/libLLVMTarget.a
 lib/libLLVMTargetParser.a
diff --git a/llvm/distinfo b/llvm/distinfo
index 9fa34bcda7..8976744cbc 100644
--- a/llvm/distinfo
+++ b/llvm/distinfo
@@ -1,11 +1,14 @@
 $NetBSD: distinfo,v 1.41 2023/03/05 17:26:09 he Exp $
 
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-BLAKE2s (llvm-16.0.6.src.tar.xz) = d6cf8733dc52995c2ca88b2a12fcaafa2fc9f578429f205340c634e9502cb128
-SHA512 (llvm-16.0.6.src.tar.xz) = 8d4cdadc9a1ad249fbf9248c8e56f3bcafab73a473a0b0ca73499ed8825c62e27668aac4f1d03341631e5ad93701621e834e9e196ca32eac3ef805cf1c860083
-Size (llvm-16.0.6.src.tar.xz) = 56149540 bytes
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+BLAKE2s (llvm-17.0.3.src.tar.xz) = 1a293bde08c683c9b0eb4b2827c98ecdf9336fe785789c5939562dc726dd189b
+SHA512 (llvm-17.0.3.src.tar.xz) = 486cf26a053380d9dded5b3b1276b8ecc4750078bff1800956e333bf6509aece7dee1992399cacb0794e086d7f0abcc7f18f3b8c4bf8f54778d3159b40279cf5
+Size (llvm-17.0.3.src.tar.xz) = 59294480 bytes
+BLAKE2s (runtimes-17.0.3.src.tar.xz) = 213f23b58df3b54da5b3445edee29734519bcf8508b294e981dfd70348bfeb35
+SHA512 (runtimes-17.0.3.src.tar.xz) = 7c00e8c8b9f3eeeb07f7c15b076ed120b968728b98699952a3afb6102133e1106ee2e2a90062056fd2d8e1e038648cb22e1ef676abe060cc2e049d50df8730cc
+Size (runtimes-17.0.3.src.tar.xz) = 6244 bytes
 SHA1 (patch-CMakeLists.txt) = c53cef61bdaeaf5216b78330992357a632a2b0b2
 SHA1 (patch-cmake_config-ix.cmake) = f5cd0c949d35020d1051f95417e7944aa71a3d54
 SHA1 (patch-cmake_modules_AddLLVM.cmake) = 4e6668e0c3e13423ce3e19304f4ad60f66d41562
diff --git a/llvm/options.mk b/llvm/options.mk
index d651b31857..5b11f73753 100644
--- a/llvm/options.mk
+++ b/llvm/options.mk
@@ -30,9 +30,6 @@ PKG_SUGGESTED_OPTIONS+=		terminfo
 PKG_SUGGESTED_OPTIONS+=	llvm-target-sparc
 .elif ${MACHINE_ARCH:Mpowerpc*}
 PKG_SUGGESTED_OPTIONS+=	llvm-target-powerpc
-.elif ${MACHINE_ARCH} == aarch64
-PKG_SUGGESTED_OPTIONS+=	llvm-target-aarch64
-PKG_SUGGESTED_OPTIONS+=	llvm-target-webassembly
 .elif ${MACHINE_ARCH:Mearm*}
 PKG_SUGGESTED_OPTIONS+=	llvm-target-arm
 .elif ${MACHINE_ARCH:M*mips*}
diff --git a/llvm/version.mk b/llvm/version.mk
index ea3ddfe8c2..4a79347480 100644
--- a/llvm/version.mk
+++ b/llvm/version.mk
@@ -14,7 +14,7 @@
 # used by lang/wasi-libcxx
 # used by parallel/openmp
 
-LLVM_VERSION=	16.0.6
+LLVM_VERSION=	17.0.3
 MASTER_SITES=	${MASTER_SITE_GITHUB:=llvm/}
 GITHUB_PROJECT=	llvm-project
 GITHUB_RELEASE=	llvmorg-${PKGVERSION_NOREV}
@@ -24,12 +24,16 @@ LLVM_MAJOR_VERSION=	${LLVM_VERSION:tu:C/\\.[[:digit:]\.]*//}
 
 # As of v15.0.0 llvm requires cmake source code to build
 CMAKE_DIST=	cmake-${LLVM_VERSION}.src
-EXTRA_DIST+=	${CMAKE_DIST}${EXTRACT_SUFX}
+RUNTIMES_DIST=	runtimes-${LLVM_VERSION}.src
+EXTRA_DIST+=	${CMAKE_DIST}${EXTRACT_SUFX} ${RUNTIMES_DIST}${EXTRACT_SUFX}
 SITES.${CMAKE_DIST}${EXTRACT_SUFX}=	\
 		${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
+SITES.${RUNTIMES_DIST}${EXTRACT_SUFX}=	\
+		${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
 DISTFILES=	${DEFAULT_DISTFILES} ${EXTRA_DIST}
 
 .PHONY: llvm-cmake-modules
 post-extract: llvm-cmake-modules
 llvm-cmake-modules:
 	${LN} -f -s ${WRKDIR}/${CMAKE_DIST} ${WRKDIR}/cmake
+	${LN} -f -s ${WRKDIR}/${RUNTIMES_DIST} ${WRKDIR}/runtimes
diff --git a/mlir/PLIST b/mlir/PLIST
index 973c1923b1..ada01bc614 100644
--- a/mlir/PLIST
+++ b/mlir/PLIST
@@ -8,6 +8,7 @@ include/mlir-c/BuiltinTypes.h
 include/mlir-c/Conversion.h
 include/mlir-c/Debug.h
 include/mlir-c/Diagnostics.h
+include/mlir-c/Dialect/Arith.h
 include/mlir-c/Dialect/Async.h
 include/mlir-c/Dialect/ControlFlow.h
 include/mlir-c/Dialect/Func.h
@@ -15,6 +16,8 @@ include/mlir-c/Dialect/GPU.h
 include/mlir-c/Dialect/LLVM.h
 include/mlir-c/Dialect/Linalg.h
 include/mlir-c/Dialect/MLProgram.h
+include/mlir-c/Dialect/Math.h
+include/mlir-c/Dialect/MemRef.h
 include/mlir-c/Dialect/PDL.h
 include/mlir-c/Dialect/Quant.h
 include/mlir-c/Dialect/SCF.h
@@ -22,6 +25,7 @@ include/mlir-c/Dialect/Shape.h
 include/mlir-c/Dialect/SparseTensor.h
 include/mlir-c/Dialect/Tensor.h
 include/mlir-c/Dialect/Transform.h
+include/mlir-c/Dialect/Vector.h
 include/mlir-c/ExecutionEngine.h
 include/mlir-c/IR.h
 include/mlir-c/IntegerSet.h
@@ -32,14 +36,17 @@ include/mlir-c/Support.h
 include/mlir-c/Transforms.h
 include/mlir/Analysis/AliasAnalysis.h
 include/mlir/Analysis/AliasAnalysis/LocalAliasAnalysis.h
+include/mlir/Analysis/CFGLoopInfo.h
 include/mlir/Analysis/CallGraph.h
 include/mlir/Analysis/DataFlow/ConstantPropagationAnalysis.h
 include/mlir/Analysis/DataFlow/DeadCodeAnalysis.h
 include/mlir/Analysis/DataFlow/DenseAnalysis.h
 include/mlir/Analysis/DataFlow/IntegerRangeAnalysis.h
+include/mlir/Analysis/DataFlow/LivenessAnalysis.h
 include/mlir/Analysis/DataFlow/SparseAnalysis.h
 include/mlir/Analysis/DataFlowFramework.h
 include/mlir/Analysis/DataLayoutAnalysis.h
+include/mlir/Analysis/FlatLinearValueConstraints.h
 include/mlir/Analysis/Liveness.h
 include/mlir/Analysis/Presburger/Fraction.h
 include/mlir/Analysis/Presburger/IntegerRelation.h
@@ -57,11 +64,15 @@ include/mlir/Analysis/SymbolTableAnalysis.h
 include/mlir/AsmParser/AsmParser.h
 include/mlir/AsmParser/AsmParserState.h
 include/mlir/AsmParser/CodeComplete.h
-include/mlir/Bindings/Python/Attributes.td
 include/mlir/Bindings/Python/PybindAdaptors.h
 include/mlir/Bytecode/BytecodeImplementation.h
+include/mlir/Bytecode/BytecodeOpInterface.cpp.inc
+include/mlir/Bytecode/BytecodeOpInterface.h
+include/mlir/Bytecode/BytecodeOpInterface.h.inc
+include/mlir/Bytecode/BytecodeOpInterface.td
 include/mlir/Bytecode/BytecodeReader.h
 include/mlir/Bytecode/BytecodeWriter.h
+include/mlir/Bytecode/Encoding.h
 include/mlir/CAPI/AffineExpr.h
 include/mlir/CAPI/AffineMap.h
 include/mlir/CAPI/Diagnostics.h
@@ -74,8 +85,8 @@ include/mlir/CAPI/Registration.h
 include/mlir/CAPI/Support.h
 include/mlir/CAPI/Utils.h
 include/mlir/CAPI/Wrap.h
+include/mlir/Config/mlir-config.h
 include/mlir/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.h
-include/mlir/Conversion/AMDGPUToROCDL/Chipset.h
 include/mlir/Conversion/AffineToStandard/AffineToStandard.h
 include/mlir/Conversion/ArithCommon/AttrToLLVMConverter.h
 include/mlir/Conversion/ArithToLLVM/ArithToLLVM.h
@@ -85,6 +96,8 @@ include/mlir/Conversion/AsyncToLLVM/AsyncToLLVM.h
 include/mlir/Conversion/BufferizationToMemRef/BufferizationToMemRef.h
 include/mlir/Conversion/ComplexToLLVM/ComplexToLLVM.h
 include/mlir/Conversion/ComplexToLibm/ComplexToLibm.h
+include/mlir/Conversion/ComplexToSPIRV/ComplexToSPIRV.h
+include/mlir/Conversion/ComplexToSPIRV/ComplexToSPIRVPass.h
 include/mlir/Conversion/ComplexToStandard/ComplexToStandard.h
 include/mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h
 include/mlir/Conversion/ControlFlowToSPIRV/ControlFlowToSPIRV.h
@@ -120,7 +133,7 @@ include/mlir/Conversion/MemRefToLLVM/MemRefToLLVM.h
 include/mlir/Conversion/MemRefToSPIRV/MemRefToSPIRV.h
 include/mlir/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.h
 include/mlir/Conversion/NVGPUToNVVM/NVGPUToNVVM.h
-include/mlir/Conversion/OpenACCToLLVM/ConvertOpenACCToLLVM.h
+include/mlir/Conversion/NVVMToLLVM/NVVMToLLVM.h
 include/mlir/Conversion/OpenACCToSCF/ConvertOpenACCToSCF.h
 include/mlir/Conversion/OpenMPToLLVM/ConvertOpenMPToLLVM.h
 include/mlir/Conversion/PDLToPDLInterp/PDLToPDLInterp.h
@@ -147,23 +160,38 @@ include/mlir/Conversion/TosaToArith/TosaToArith.h
 include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h
 include/mlir/Conversion/TosaToSCF/TosaToSCF.h
 include/mlir/Conversion/TosaToTensor/TosaToTensor.h
+include/mlir/Conversion/UBToLLVM/UBToLLVM.h
+include/mlir/Conversion/UBToSPIRV/UBToSPIRV.h
+include/mlir/Conversion/VectorToArmSME/VectorToArmSME.h
 include/mlir/Conversion/VectorToGPU/VectorToGPU.h
 include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h
 include/mlir/Conversion/VectorToSCF/VectorToSCF.h
 include/mlir/Conversion/VectorToSPIRV/VectorToSPIRV.h
 include/mlir/Conversion/VectorToSPIRV/VectorToSPIRVPass.h
-include/mlir/Dialect/AMDGPU/AMDGPU.cpp.inc
-include/mlir/Dialect/AMDGPU/AMDGPU.h.inc
-include/mlir/Dialect/AMDGPU/AMDGPU.td
-include/mlir/Dialect/AMDGPU/AMDGPUAttributes.cpp.inc
-include/mlir/Dialect/AMDGPU/AMDGPUAttributes.h.inc
-include/mlir/Dialect/AMDGPU/AMDGPUDialect.cpp.inc
-include/mlir/Dialect/AMDGPU/AMDGPUDialect.h
-include/mlir/Dialect/AMDGPU/AMDGPUDialect.h.inc
-include/mlir/Dialect/AMDGPU/AMDGPUEnums.cpp.inc
-include/mlir/Dialect/AMDGPU/AMDGPUEnums.h.inc
-include/mlir/Dialect/AMDGPU/AMDGPUTypes.cpp.inc
-include/mlir/Dialect/AMDGPU/AMDGPUTypes.h.inc
+include/mlir/Debug/BreakpointManager.h
+include/mlir/Debug/BreakpointManagers/FileLineColLocBreakpointManager.h
+include/mlir/Debug/BreakpointManagers/TagBreakpointManager.h
+include/mlir/Debug/CLOptionsSetup.h
+include/mlir/Debug/Counter.h
+include/mlir/Debug/DebuggerExecutionContextHook.h
+include/mlir/Debug/ExecutionContext.h
+include/mlir/Debug/Observers/ActionLogging.h
+include/mlir/Dialect/AMDGPU/IR/AMDGPU.cpp.inc
+include/mlir/Dialect/AMDGPU/IR/AMDGPU.h.inc
+include/mlir/Dialect/AMDGPU/IR/AMDGPU.td
+include/mlir/Dialect/AMDGPU/IR/AMDGPUAttributes.cpp.inc
+include/mlir/Dialect/AMDGPU/IR/AMDGPUAttributes.h.inc
+include/mlir/Dialect/AMDGPU/IR/AMDGPUDialect.cpp.inc
+include/mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h
+include/mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h.inc
+include/mlir/Dialect/AMDGPU/IR/AMDGPUEnums.cpp.inc
+include/mlir/Dialect/AMDGPU/IR/AMDGPUEnums.h.inc
+include/mlir/Dialect/AMDGPU/IR/AMDGPUTypes.cpp.inc
+include/mlir/Dialect/AMDGPU/IR/AMDGPUTypes.h.inc
+include/mlir/Dialect/AMDGPU/Transforms/Passes.h
+include/mlir/Dialect/AMDGPU/Transforms/Passes.h.inc
+include/mlir/Dialect/AMDGPU/Transforms/Passes.td
+include/mlir/Dialect/AMDGPU/Utils/Chipset.h
 include/mlir/Dialect/AMX/AMX.cpp.inc
 include/mlir/Dialect/AMX/AMX.h.inc
 include/mlir/Dialect/AMX/AMX.td
@@ -192,6 +220,7 @@ include/mlir/Dialect/Affine/IR/AffineOpsDialect.h.inc
 include/mlir/Dialect/Affine/IR/AffineOpsTypes.cpp.inc
 include/mlir/Dialect/Affine/IR/AffineOpsTypes.h.inc
 include/mlir/Dialect/Affine/IR/AffineValueMap.h
+include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h
 include/mlir/Dialect/Affine/LoopFusionUtils.h
 include/mlir/Dialect/Affine/LoopUtils.h
 include/mlir/Dialect/Affine/Passes.h
@@ -201,6 +230,7 @@ include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.cpp.inc
 include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.h
 include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.h.inc
 include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.td
+include/mlir/Dialect/Affine/Transforms/Transforms.h
 include/mlir/Dialect/Affine/Utils.h
 include/mlir/Dialect/Affine/ViewLikeInterfaceUtils.h
 include/mlir/Dialect/Arith/IR/Arith.h
@@ -219,10 +249,13 @@ include/mlir/Dialect/Arith/IR/ArithOpsInterfaces.h.inc
 include/mlir/Dialect/Arith/IR/ArithOpsInterfaces.td
 include/mlir/Dialect/Arith/IR/ArithOpsTypes.cpp.inc
 include/mlir/Dialect/Arith/IR/ArithOpsTypes.h.inc
+include/mlir/Dialect/Arith/IR/ValueBoundsOpInterfaceImpl.h
 include/mlir/Dialect/Arith/Transforms/BufferizableOpInterfaceImpl.h
+include/mlir/Dialect/Arith/Transforms/NarrowTypeEmulationConverter.h
 include/mlir/Dialect/Arith/Transforms/Passes.h
 include/mlir/Dialect/Arith/Transforms/Passes.h.inc
 include/mlir/Dialect/Arith/Transforms/Passes.td
+include/mlir/Dialect/Arith/Transforms/Transforms.h
 include/mlir/Dialect/Arith/Transforms/WideIntEmulationConverter.h
 include/mlir/Dialect/Arith/Utils/Utils.h
 include/mlir/Dialect/ArmNeon/ArmNeon.cpp.inc
@@ -234,6 +267,20 @@ include/mlir/Dialect/ArmNeon/ArmNeonDialect.h
 include/mlir/Dialect/ArmNeon/ArmNeonDialect.h.inc
 include/mlir/Dialect/ArmNeon/ArmNeonTypes.cpp.inc
 include/mlir/Dialect/ArmNeon/ArmNeonTypes.h.inc
+include/mlir/Dialect/ArmSME/IR/ArmSME.cpp.inc
+include/mlir/Dialect/ArmSME/IR/ArmSME.h
+include/mlir/Dialect/ArmSME/IR/ArmSME.h.inc
+include/mlir/Dialect/ArmSME/IR/ArmSME.td
+include/mlir/Dialect/ArmSME/IR/ArmSMEConversions.inc
+include/mlir/Dialect/ArmSME/IR/ArmSMEDialect.cpp.inc
+include/mlir/Dialect/ArmSME/IR/ArmSMEDialect.h.inc
+include/mlir/Dialect/ArmSME/IR/ArmSMETypes.cpp.inc
+include/mlir/Dialect/ArmSME/IR/ArmSMETypes.h.inc
+include/mlir/Dialect/ArmSME/Transforms/Passes.h
+include/mlir/Dialect/ArmSME/Transforms/Passes.h.inc
+include/mlir/Dialect/ArmSME/Transforms/Passes.td
+include/mlir/Dialect/ArmSME/Transforms/Transforms.h
+include/mlir/Dialect/ArmSME/Utils/Utils.h
 include/mlir/Dialect/ArmSVE/ArmSVE.cpp.inc
 include/mlir/Dialect/ArmSVE/ArmSVE.h.inc
 include/mlir/Dialect/ArmSVE/ArmSVE.td
@@ -341,6 +388,8 @@ include/mlir/Dialect/EmitC/IR/EmitCDialect.h.inc
 include/mlir/Dialect/EmitC/IR/EmitCTypes.cpp.inc
 include/mlir/Dialect/EmitC/IR/EmitCTypes.h.inc
 include/mlir/Dialect/EmitC/IR/EmitCTypes.td
+include/mlir/Dialect/Func/Extensions/AllExtensions.h
+include/mlir/Dialect/Func/Extensions/InlinerExtension.h
 include/mlir/Dialect/Func/IR/FuncOps.cpp.inc
 include/mlir/Dialect/Func/IR/FuncOps.h
 include/mlir/Dialect/Func/IR/FuncOps.h.inc
@@ -349,6 +398,7 @@ include/mlir/Dialect/Func/IR/FuncOpsDialect.cpp.inc
 include/mlir/Dialect/Func/IR/FuncOpsDialect.h.inc
 include/mlir/Dialect/Func/Transforms/DecomposeCallGraphTypes.h
 include/mlir/Dialect/Func/Transforms/FuncConversions.h
+include/mlir/Dialect/Func/Transforms/OneToNFuncConversions.h
 include/mlir/Dialect/Func/Transforms/Passes.h
 include/mlir/Dialect/Func/Transforms/Passes.h.inc
 include/mlir/Dialect/Func/Transforms/Passes.td
@@ -377,6 +427,7 @@ include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.cpp.inc
 include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.h
 include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.h.inc
 include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.td
+include/mlir/Dialect/GPU/TransformOps/Utils.h
 include/mlir/Dialect/GPU/Transforms/MemoryPromotion.h
 include/mlir/Dialect/GPU/Transforms/ParallelLoopMapper.h
 include/mlir/Dialect/GPU/Transforms/Passes.capi.cpp.inc
@@ -385,6 +436,27 @@ include/mlir/Dialect/GPU/Transforms/Passes.h
 include/mlir/Dialect/GPU/Transforms/Passes.h.inc
 include/mlir/Dialect/GPU/Transforms/Passes.td
 include/mlir/Dialect/GPU/Transforms/Utils.h
+include/mlir/Dialect/IRDL/IR/IRDL.cpp.inc
+include/mlir/Dialect/IRDL/IR/IRDL.h
+include/mlir/Dialect/IRDL/IR/IRDL.h.inc
+include/mlir/Dialect/IRDL/IR/IRDL.td
+include/mlir/Dialect/IRDL/IR/IRDLDialect.cpp.inc
+include/mlir/Dialect/IRDL/IR/IRDLDialect.h.inc
+include/mlir/Dialect/IRDL/IR/IRDLInterfaces.cpp.inc
+include/mlir/Dialect/IRDL/IR/IRDLInterfaces.h
+include/mlir/Dialect/IRDL/IR/IRDLInterfaces.h.inc
+include/mlir/Dialect/IRDL/IR/IRDLInterfaces.td
+include/mlir/Dialect/IRDL/IR/IRDLOps.cpp.inc
+include/mlir/Dialect/IRDL/IR/IRDLOps.h.inc
+include/mlir/Dialect/IRDL/IR/IRDLOps.td
+include/mlir/Dialect/IRDL/IR/IRDLTraits.h
+include/mlir/Dialect/IRDL/IR/IRDLTypes.cpp.inc
+include/mlir/Dialect/IRDL/IR/IRDLTypes.h.inc
+include/mlir/Dialect/IRDL/IR/IRDLTypes.td
+include/mlir/Dialect/IRDL/IR/IRDLTypesGen.cpp.inc
+include/mlir/Dialect/IRDL/IR/IRDLTypesGen.h.inc
+include/mlir/Dialect/IRDL/IRDLLoading.h
+include/mlir/Dialect/IRDL/IRDLVerifiers.h
 include/mlir/Dialect/Index/IR/IndexAttrs.cpp.inc
 include/mlir/Dialect/Index/IR/IndexAttrs.h
 include/mlir/Dialect/Index/IR/IndexAttrs.h.inc
@@ -409,7 +481,12 @@ include/mlir/Dialect/LLVMIR/LLVMConversionEnumsToLLVM.inc
 include/mlir/Dialect/LLVMIR/LLVMConversions.inc
 include/mlir/Dialect/LLVMIR/LLVMConvertibleLLVMIRIntrinsics.inc
 include/mlir/Dialect/LLVMIR/LLVMDialect.h
+include/mlir/Dialect/LLVMIR/LLVMDialect.td
 include/mlir/Dialect/LLVMIR/LLVMEnums.td
+include/mlir/Dialect/LLVMIR/LLVMInterfaces.cpp.inc
+include/mlir/Dialect/LLVMIR/LLVMInterfaces.h
+include/mlir/Dialect/LLVMIR/LLVMInterfaces.h.inc
+include/mlir/Dialect/LLVMIR/LLVMInterfaces.td
 include/mlir/Dialect/LLVMIR/LLVMIntrinsicConversions.inc
 include/mlir/Dialect/LLVMIR/LLVMIntrinsicFromLLVMIRConversions.inc
 include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.cpp.inc
@@ -426,9 +503,6 @@ include/mlir/Dialect/LLVMIR/LLVMOpsDialect.cpp.inc
 include/mlir/Dialect/LLVMIR/LLVMOpsDialect.h.inc
 include/mlir/Dialect/LLVMIR/LLVMOpsEnums.cpp.inc
 include/mlir/Dialect/LLVMIR/LLVMOpsEnums.h.inc
-include/mlir/Dialect/LLVMIR/LLVMOpsInterfaces.cpp.inc
-include/mlir/Dialect/LLVMIR/LLVMOpsInterfaces.h.inc
-include/mlir/Dialect/LLVMIR/LLVMOpsInterfaces.td
 include/mlir/Dialect/LLVMIR/LLVMTypeInterfaces.cpp.inc
 include/mlir/Dialect/LLVMIR/LLVMTypeInterfaces.h.inc
 include/mlir/Dialect/LLVMIR/LLVMTypes.cpp.inc
@@ -446,6 +520,8 @@ include/mlir/Dialect/LLVMIR/NVVMOpsDialect.cpp.inc
 include/mlir/Dialect/LLVMIR/NVVMOpsDialect.h.inc
 include/mlir/Dialect/LLVMIR/NVVMOpsEnums.cpp.inc
 include/mlir/Dialect/LLVMIR/NVVMOpsEnums.h.inc
+include/mlir/Dialect/LLVMIR/NVVMOpsInterface.cpp.inc
+include/mlir/Dialect/LLVMIR/NVVMOpsInterface.h.inc
 include/mlir/Dialect/LLVMIR/NVVMOpsTypes.cpp.inc
 include/mlir/Dialect/LLVMIR/NVVMOpsTypes.h.inc
 include/mlir/Dialect/LLVMIR/ROCDLConversions.inc
@@ -463,7 +539,7 @@ include/mlir/Dialect/LLVMIR/Transforms/Passes.h
 include/mlir/Dialect/LLVMIR/Transforms/Passes.h.inc
 include/mlir/Dialect/LLVMIR/Transforms/Passes.td
 include/mlir/Dialect/LLVMIR/Transforms/RequestCWrappers.h
-include/mlir/Dialect/Linalg/Analysis/DependenceAnalysis.h
+include/mlir/Dialect/LLVMIR/Transforms/TypeConsistency.h
 include/mlir/Dialect/Linalg/IR/Linalg.h
 include/mlir/Dialect/Linalg/IR/LinalgBase.td
 include/mlir/Dialect/Linalg/IR/LinalgDoc.td
@@ -488,19 +564,27 @@ include/mlir/Dialect/Linalg/IR/LinalgOpsTypes.h.inc
 include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.cpp.inc
 include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.h.inc
 include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
+include/mlir/Dialect/Linalg/IR/ValueBoundsOpInterfaceImpl.h
 include/mlir/Dialect/Linalg/Passes.capi.cpp.inc
 include/mlir/Dialect/Linalg/Passes.capi.h.inc
 include/mlir/Dialect/Linalg/Passes.h
 include/mlir/Dialect/Linalg/Passes.h.inc
 include/mlir/Dialect/Linalg/Passes.td
+include/mlir/Dialect/Linalg/TransformOps/DialectExtension.h
+include/mlir/Dialect/Linalg/TransformOps/GPUHeuristics.h
+include/mlir/Dialect/Linalg/TransformOps/LinalgMatchOps.cpp.inc
+include/mlir/Dialect/Linalg/TransformOps/LinalgMatchOps.h
+include/mlir/Dialect/Linalg/TransformOps/LinalgMatchOps.h.inc
+include/mlir/Dialect/Linalg/TransformOps/LinalgMatchOps.td
+include/mlir/Dialect/Linalg/TransformOps/LinalgTransformEnums.td
 include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp.inc
 include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.h
 include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.h.inc
 include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
 include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOpsEnums.cpp.inc
 include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOpsEnums.h.inc
+include/mlir/Dialect/Linalg/TransformOps/Syntax.h
 include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.h
-include/mlir/Dialect/Linalg/Transforms/HoistPadding.h
 include/mlir/Dialect/Linalg/Transforms/Hoisting.h
 include/mlir/Dialect/Linalg/Transforms/TilingInterfaceImpl.h
 include/mlir/Dialect/Linalg/Transforms/Transforms.h
@@ -533,8 +617,11 @@ include/mlir/Dialect/Math/IR/MathOpsTypes.cpp.inc
 include/mlir/Dialect/Math/IR/MathOpsTypes.h.inc
 include/mlir/Dialect/Math/Transforms/Approximation.h
 include/mlir/Dialect/Math/Transforms/Passes.h
+include/mlir/Dialect/Math/Transforms/Passes.h.inc
+include/mlir/Dialect/Math/Transforms/Passes.td
 include/mlir/Dialect/MemRef/IR/MemRef.h
 include/mlir/Dialect/MemRef/IR/MemRefBase.td
+include/mlir/Dialect/MemRef/IR/MemRefMemorySlot.h
 include/mlir/Dialect/MemRef/IR/MemRefOps.cpp.inc
 include/mlir/Dialect/MemRef/IR/MemRefOps.h.inc
 include/mlir/Dialect/MemRef/IR/MemRefOps.td
@@ -542,33 +629,48 @@ include/mlir/Dialect/MemRef/IR/MemRefOpsDialect.cpp.inc
 include/mlir/Dialect/MemRef/IR/MemRefOpsDialect.h.inc
 include/mlir/Dialect/MemRef/IR/MemRefOpsTypes.cpp.inc
 include/mlir/Dialect/MemRef/IR/MemRefOpsTypes.h.inc
+include/mlir/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.h
 include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.cpp.inc
 include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.h
 include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.h.inc
 include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td
+include/mlir/Dialect/MemRef/Transforms/BufferizableOpInterfaceImpl.h
 include/mlir/Dialect/MemRef/Transforms/ComposeSubView.h
 include/mlir/Dialect/MemRef/Transforms/Passes.h
 include/mlir/Dialect/MemRef/Transforms/Passes.h.inc
 include/mlir/Dialect/MemRef/Transforms/Passes.td
 include/mlir/Dialect/MemRef/Transforms/RuntimeOpVerification.h
+include/mlir/Dialect/MemRef/Transforms/Transforms.h
 include/mlir/Dialect/MemRef/Utils/MemRefUtils.h
 include/mlir/Dialect/NVGPU/IR/NVGPU.cpp.inc
 include/mlir/Dialect/NVGPU/IR/NVGPU.h.inc
 include/mlir/Dialect/NVGPU/IR/NVGPU.td
+include/mlir/Dialect/NVGPU/IR/NVGPUAttrDefs.cpp.inc
+include/mlir/Dialect/NVGPU/IR/NVGPUAttrDefs.h.inc
+include/mlir/Dialect/NVGPU/IR/NVGPUAttrTypes.cpp.inc
+include/mlir/Dialect/NVGPU/IR/NVGPUAttrTypes.h.inc
 include/mlir/Dialect/NVGPU/IR/NVGPUDialect.cpp.inc
 include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h
 include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h.inc
+include/mlir/Dialect/NVGPU/IR/NVGPUEnums.cpp.inc
+include/mlir/Dialect/NVGPU/IR/NVGPUEnums.h.inc
 include/mlir/Dialect/NVGPU/IR/NVGPUTypes.cpp.inc
 include/mlir/Dialect/NVGPU/IR/NVGPUTypes.h.inc
-include/mlir/Dialect/NVGPU/Passes.capi.cpp.inc
-include/mlir/Dialect/NVGPU/Passes.capi.h.inc
-include/mlir/Dialect/NVGPU/Passes.h
-include/mlir/Dialect/NVGPU/Passes.h.inc
-include/mlir/Dialect/NVGPU/Passes.td
+include/mlir/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp.inc
+include/mlir/Dialect/NVGPU/TransformOps/NVGPUTransformOps.h
+include/mlir/Dialect/NVGPU/TransformOps/NVGPUTransformOps.h.inc
+include/mlir/Dialect/NVGPU/TransformOps/NVGPUTransformOps.td
+include/mlir/Dialect/NVGPU/Transforms/Passes.capi.cpp.inc
+include/mlir/Dialect/NVGPU/Transforms/Passes.capi.h.inc
+include/mlir/Dialect/NVGPU/Transforms/Passes.h
+include/mlir/Dialect/NVGPU/Transforms/Passes.h.inc
+include/mlir/Dialect/NVGPU/Transforms/Passes.td
 include/mlir/Dialect/NVGPU/Transforms/Transforms.h
+include/mlir/Dialect/NVGPU/Transforms/Utils.h
 include/mlir/Dialect/NVGPU/Utils/MMAUtils.h
 include/mlir/Dialect/OpenACC/AccCommon.td
 include/mlir/Dialect/OpenACC/OpenACC.h
+include/mlir/Dialect/OpenACC/OpenACCBase.td
 include/mlir/Dialect/OpenACC/OpenACCOps.cpp.inc
 include/mlir/Dialect/OpenACC/OpenACCOps.h.inc
 include/mlir/Dialect/OpenACC/OpenACCOps.td
@@ -578,8 +680,15 @@ include/mlir/Dialect/OpenACC/OpenACCOpsDialect.cpp.inc
 include/mlir/Dialect/OpenACC/OpenACCOpsDialect.h.inc
 include/mlir/Dialect/OpenACC/OpenACCOpsEnums.cpp.inc
 include/mlir/Dialect/OpenACC/OpenACCOpsEnums.h.inc
+include/mlir/Dialect/OpenACC/OpenACCOpsTypes.cpp.inc
+include/mlir/Dialect/OpenACC/OpenACCOpsTypes.h.inc
+include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td
+include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.cpp.inc
+include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.h.inc
+include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.td
 include/mlir/Dialect/OpenMP/OmpCommon.td
 include/mlir/Dialect/OpenMP/OpenMPDialect.h
+include/mlir/Dialect/OpenMP/OpenMPInterfaces.h
 include/mlir/Dialect/OpenMP/OpenMPOps.cpp.inc
 include/mlir/Dialect/OpenMP/OpenMPOps.h.inc
 include/mlir/Dialect/OpenMP/OpenMPOps.td
@@ -616,6 +725,8 @@ include/mlir/Dialect/PDLInterp/IR/PDLInterpOpsDialect.h.inc
 include/mlir/Dialect/PDLInterp/IR/PDLInterpOpsTypes.cpp.inc
 include/mlir/Dialect/PDLInterp/IR/PDLInterpOpsTypes.h.inc
 include/mlir/Dialect/Quant/FakeQuantSupport.h
+include/mlir/Dialect/Quant/QuantDialectBytecode.cpp.inc
+include/mlir/Dialect/Quant/QuantDialectBytecode.td
 include/mlir/Dialect/Quant/QuantOps.cpp.inc
 include/mlir/Dialect/Quant/QuantOps.h
 include/mlir/Dialect/Quant/QuantOps.h.inc
@@ -641,6 +752,7 @@ include/mlir/Dialect/SCF/IR/SCFOpsDialect.cpp.inc
 include/mlir/Dialect/SCF/IR/SCFOpsDialect.h.inc
 include/mlir/Dialect/SCF/IR/SCFOpsTypes.cpp.inc
 include/mlir/Dialect/SCF/IR/SCFOpsTypes.h.inc
+include/mlir/Dialect/SCF/IR/ValueBoundsOpInterfaceImpl.h
 include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.cpp.inc
 include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.h
 include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.h.inc
@@ -654,7 +766,6 @@ include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
 include/mlir/Dialect/SCF/Transforms/Transforms.h
 include/mlir/Dialect/SCF/Utils/AffineCanonicalizationUtils.h
 include/mlir/Dialect/SCF/Utils/Utils.h
-include/mlir/Dialect/SPIRV/IR/ParserUtils.h
 include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td
 include/mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td
 include/mlir/Dialect/SPIRV/IR/SPIRVAttrUtils.inc
@@ -685,6 +796,7 @@ include/mlir/Dialect/SPIRV/IR/SPIRVGLOps.td
 include/mlir/Dialect/SPIRV/IR/SPIRVGroupOps.td
 include/mlir/Dialect/SPIRV/IR/SPIRVImageOps.td
 include/mlir/Dialect/SPIRV/IR/SPIRVIntegerDotProductOps.td
+include/mlir/Dialect/SPIRV/IR/SPIRVIntelExtOps.td
 include/mlir/Dialect/SPIRV/IR/SPIRVJointMatrixOps.td
 include/mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td
 include/mlir/Dialect/SPIRV/IR/SPIRVMatrixOps.td
@@ -741,6 +853,8 @@ include/mlir/Dialect/SparseTensor/IR/SparseTensorOpsDialect.cpp.inc
 include/mlir/Dialect/SparseTensor/IR/SparseTensorOpsDialect.h.inc
 include/mlir/Dialect/SparseTensor/IR/SparseTensorOpsTypes.cpp.inc
 include/mlir/Dialect/SparseTensor/IR/SparseTensorOpsTypes.h.inc
+include/mlir/Dialect/SparseTensor/IR/SparseTensorStorageLayout.h
+include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h
 include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.cpp.inc
 include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.h.inc
 include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td
@@ -752,6 +866,7 @@ include/mlir/Dialect/SparseTensor/Transforms/Passes.h
 include/mlir/Dialect/SparseTensor/Transforms/Passes.h.inc
 include/mlir/Dialect/SparseTensor/Transforms/Passes.td
 include/mlir/Dialect/SparseTensor/Utils/Merger.h
+include/mlir/Dialect/SparseTensor/Utils/MergerNewtypes.h
 include/mlir/Dialect/Tensor/IR/Tensor.h
 include/mlir/Dialect/Tensor/IR/TensorBase.td
 include/mlir/Dialect/Tensor/IR/TensorInferTypeOpInterfaceImpl.h
@@ -763,6 +878,11 @@ include/mlir/Dialect/Tensor/IR/TensorOpsDialect.h.inc
 include/mlir/Dialect/Tensor/IR/TensorOpsTypes.cpp.inc
 include/mlir/Dialect/Tensor/IR/TensorOpsTypes.h.inc
 include/mlir/Dialect/Tensor/IR/TensorTilingInterfaceImpl.h
+include/mlir/Dialect/Tensor/IR/ValueBoundsOpInterfaceImpl.h
+include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.cpp.inc
+include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.h
+include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.h.inc
+include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.td
 include/mlir/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.h
 include/mlir/Dialect/Tensor/Transforms/Passes.h
 include/mlir/Dialect/Tensor/Transforms/Passes.h.inc
@@ -795,6 +915,11 @@ include/mlir/Dialect/Tosa/Utils/ConversionUtils.h
 include/mlir/Dialect/Tosa/Utils/QuantUtils.h
 include/mlir/Dialect/Tosa/Utils/ShapeUtils.h
 include/mlir/Dialect/Traits.h
+include/mlir/Dialect/Transform/IR/MatchInterfaces.cpp.inc
+include/mlir/Dialect/Transform/IR/MatchInterfaces.h
+include/mlir/Dialect/Transform/IR/MatchInterfaces.h.inc
+include/mlir/Dialect/Transform/IR/MatchInterfaces.td
+include/mlir/Dialect/Transform/IR/TransformAttrs.h
 include/mlir/Dialect/Transform/IR/TransformAttrs.td
 include/mlir/Dialect/Transform/IR/TransformDialect.cpp.inc
 include/mlir/Dialect/Transform/IR/TransformDialect.h
@@ -802,7 +927,6 @@ include/mlir/Dialect/Transform/IR/TransformDialect.h.inc
 include/mlir/Dialect/Transform/IR/TransformDialect.td
 include/mlir/Dialect/Transform/IR/TransformDialectEnums.cpp.inc
 include/mlir/Dialect/Transform/IR/TransformDialectEnums.h.inc
-include/mlir/Dialect/Transform/IR/TransformEffects.td
 include/mlir/Dialect/Transform/IR/TransformInterfaces.cpp.inc
 include/mlir/Dialect/Transform/IR/TransformInterfaces.h
 include/mlir/Dialect/Transform/IR/TransformInterfaces.h.inc
@@ -821,12 +945,29 @@ include/mlir/Dialect/Transform/IR/TransformTypes.cpp.inc
 include/mlir/Dialect/Transform/IR/TransformTypes.h
 include/mlir/Dialect/Transform/IR/TransformTypes.h.inc
 include/mlir/Dialect/Transform/IR/TransformTypes.td
-include/mlir/Dialect/Transform/IR/TransformUtils.h
+include/mlir/Dialect/Transform/PDLExtension/PDLExtension.h
+include/mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.cpp.inc
+include/mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.h
+include/mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.h.inc
+include/mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.td
 include/mlir/Dialect/Transform/Transforms/Passes.h
 include/mlir/Dialect/Transform/Transforms/Passes.h.inc
 include/mlir/Dialect/Transform/Transforms/Passes.td
+include/mlir/Dialect/Transform/Transforms/TransformInterpreterPassBase.h
 include/mlir/Dialect/Transform/Utils/DiagnosedSilenceableFailure.h
+include/mlir/Dialect/Transform/Utils/RaggedArray.h
 include/mlir/Dialect/Transform/Utils/Utils.h
+include/mlir/Dialect/UB/IR/UBOps.cpp.inc
+include/mlir/Dialect/UB/IR/UBOps.h
+include/mlir/Dialect/UB/IR/UBOps.h.inc
+include/mlir/Dialect/UB/IR/UBOps.td
+include/mlir/Dialect/UB/IR/UBOpsAttributes.cpp.inc
+include/mlir/Dialect/UB/IR/UBOpsAttributes.h.inc
+include/mlir/Dialect/UB/IR/UBOpsDialect.cpp.inc
+include/mlir/Dialect/UB/IR/UBOpsDialect.h.inc
+include/mlir/Dialect/UB/IR/UBOpsInterfaces.cpp.inc
+include/mlir/Dialect/UB/IR/UBOpsInterfaces.h.inc
+include/mlir/Dialect/UB/IR/UBOpsInterfaces.td
 include/mlir/Dialect/Utils/DialectUtilsEnums.cpp.inc
 include/mlir/Dialect/Utils/DialectUtilsEnums.h.inc
 include/mlir/Dialect/Utils/IndexingUtils.h
@@ -859,6 +1000,7 @@ include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.h
 include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.h.inc
 include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
 include/mlir/Dialect/Vector/Transforms/BufferizableOpInterfaceImpl.h
+include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
 include/mlir/Dialect/Vector/Transforms/Passes.h
 include/mlir/Dialect/Vector/Transforms/Passes.h.inc
 include/mlir/Dialect/Vector/Transforms/Passes.td
@@ -896,11 +1038,13 @@ include/mlir/ExecutionEngine/SparseTensor/File.h
 include/mlir/ExecutionEngine/SparseTensor/PermutationRef.h
 include/mlir/ExecutionEngine/SparseTensor/Storage.h
 include/mlir/ExecutionEngine/SparseTensorRuntime.h
+include/mlir/IR/Action.h
 include/mlir/IR/AffineExpr.h
 include/mlir/IR/AffineExprVisitor.h
 include/mlir/IR/AffineMap.h
 include/mlir/IR/AsmState.h
 include/mlir/IR/AttrTypeBase.td
+include/mlir/IR/AttrTypeSubElements.h
 include/mlir/IR/AttributeSupport.h
 include/mlir/IR/Attributes.h
 include/mlir/IR/Block.h
@@ -918,6 +1062,8 @@ include/mlir/IR/BuiltinDialect.cpp.inc
 include/mlir/IR/BuiltinDialect.h
 include/mlir/IR/BuiltinDialect.h.inc
 include/mlir/IR/BuiltinDialect.td
+include/mlir/IR/BuiltinDialectBytecode.cpp.inc
+include/mlir/IR/BuiltinDialectBytecode.td
 include/mlir/IR/BuiltinLocationAttributes.cpp.inc
 include/mlir/IR/BuiltinLocationAttributes.h.inc
 include/mlir/IR/BuiltinLocationAttributes.td
@@ -933,6 +1079,7 @@ include/mlir/IR/BuiltinTypes.cpp.inc
 include/mlir/IR/BuiltinTypes.h
 include/mlir/IR/BuiltinTypes.h.inc
 include/mlir/IR/BuiltinTypes.td
+include/mlir/IR/BytecodeBase.td
 include/mlir/IR/Diagnostics.h
 include/mlir/IR/Dialect.h
 include/mlir/IR/DialectBase.td
@@ -951,9 +1098,11 @@ include/mlir/IR/FunctionOpInterfaces.h.inc
 include/mlir/IR/IRMapping.h
 include/mlir/IR/ImplicitLocOpBuilder.h
 include/mlir/IR/IntegerSet.h
+include/mlir/IR/Iterators.h
 include/mlir/IR/Location.h
 include/mlir/IR/MLIRContext.h
 include/mlir/IR/Matchers.h
+include/mlir/IR/ODSSupport.h
 include/mlir/IR/OpAsmInterface.cpp.inc
 include/mlir/IR/OpAsmInterface.h.inc
 include/mlir/IR/OpAsmInterface.td
@@ -972,12 +1121,6 @@ include/mlir/IR/RegionKindInterface.h
 include/mlir/IR/RegionKindInterface.h.inc
 include/mlir/IR/RegionKindInterface.td
 include/mlir/IR/StorageUniquerSupport.h
-include/mlir/IR/SubElementAttrInterfaces.cpp.inc
-include/mlir/IR/SubElementAttrInterfaces.h.inc
-include/mlir/IR/SubElementInterfaces.h
-include/mlir/IR/SubElementInterfaces.td
-include/mlir/IR/SubElementTypeInterfaces.cpp.inc
-include/mlir/IR/SubElementTypeInterfaces.h.inc
 include/mlir/IR/SymbolInterfaces.cpp.inc
 include/mlir/IR/SymbolInterfaces.h.inc
 include/mlir/IR/SymbolInterfaces.td
@@ -991,12 +1134,14 @@ include/mlir/IR/TypeRange.h
 include/mlir/IR/TypeSupport.h
 include/mlir/IR/TypeUtilities.h
 include/mlir/IR/Types.h
+include/mlir/IR/Unit.h
 include/mlir/IR/UseDefLists.h
 include/mlir/IR/Value.h
 include/mlir/IR/ValueRange.h
 include/mlir/IR/Verifier.h
 include/mlir/IR/Visitors.h
 include/mlir/InitAllDialects.h
+include/mlir/InitAllExtensions.h
 include/mlir/InitAllPasses.h
 include/mlir/InitAllTranslations.h
 include/mlir/Interfaces/CallInterfaces.cpp.inc
@@ -1044,6 +1189,12 @@ include/mlir/Interfaces/LoopLikeInterface.cpp.inc
 include/mlir/Interfaces/LoopLikeInterface.h
 include/mlir/Interfaces/LoopLikeInterface.h.inc
 include/mlir/Interfaces/LoopLikeInterface.td
+include/mlir/Interfaces/MemorySlotInterfaces.h
+include/mlir/Interfaces/MemorySlotInterfaces.td
+include/mlir/Interfaces/MemorySlotOpInterfaces.cpp.inc
+include/mlir/Interfaces/MemorySlotOpInterfaces.h.inc
+include/mlir/Interfaces/MemorySlotTypeInterfaces.cpp.inc
+include/mlir/Interfaces/MemorySlotTypeInterfaces.h.inc
 include/mlir/Interfaces/ParallelCombiningOpInterface.cpp.inc
 include/mlir/Interfaces/ParallelCombiningOpInterface.h
 include/mlir/Interfaces/ParallelCombiningOpInterface.h.inc
@@ -1066,6 +1217,10 @@ include/mlir/Interfaces/TilingInterface.h
 include/mlir/Interfaces/TilingInterface.h.inc
 include/mlir/Interfaces/TilingInterface.td
 include/mlir/Interfaces/Utils/InferIntRangeCommon.h
+include/mlir/Interfaces/ValueBoundsOpInterface.cpp.inc
+include/mlir/Interfaces/ValueBoundsOpInterface.h
+include/mlir/Interfaces/ValueBoundsOpInterface.h.inc
+include/mlir/Interfaces/ValueBoundsOpInterface.td
 include/mlir/Interfaces/VectorInterfaces.cpp.inc
 include/mlir/Interfaces/VectorInterfaces.h
 include/mlir/Interfaces/VectorInterfaces.h.inc
@@ -1091,8 +1246,6 @@ include/mlir/Reducer/Tester.h
 include/mlir/Rewrite/FrozenRewritePatternSet.h
 include/mlir/Rewrite/PassUtil.td
 include/mlir/Rewrite/PatternApplicator.h
-include/mlir/Support/DebugAction.h
-include/mlir/Support/DebugCounter.h
 include/mlir/Support/DebugStringHelper.h
 include/mlir/Support/FileUtilities.h
 include/mlir/Support/IndentedOstream.h
@@ -1121,6 +1274,7 @@ include/mlir/TableGen/Operator.h
 include/mlir/TableGen/Pass.h
 include/mlir/TableGen/Pattern.h
 include/mlir/TableGen/Predicate.h
+include/mlir/TableGen/Property.h
 include/mlir/TableGen/Region.h
 include/mlir/TableGen/SideEffects.h
 include/mlir/TableGen/Successor.h
@@ -1130,12 +1284,16 @@ include/mlir/Target/Cpp/CppEmitter.h
 include/mlir/Target/LLVMIR/Dialect/AMX/AMXToLLVMIRTranslation.h
 include/mlir/Target/LLVMIR/Dialect/All.h
 include/mlir/Target/LLVMIR/Dialect/ArmNeon/ArmNeonToLLVMIRTranslation.h
+include/mlir/Target/LLVMIR/Dialect/ArmSME/ArmSMEToLLVMIRTranslation.h
 include/mlir/Target/LLVMIR/Dialect/ArmSVE/ArmSVEToLLVMIRTranslation.h
+include/mlir/Target/LLVMIR/Dialect/Builtin/BuiltinToLLVMIRTranslation.h
+include/mlir/Target/LLVMIR/Dialect/GPU/GPUToLLVMIRTranslation.h
 include/mlir/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.h
 include/mlir/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.h
 include/mlir/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.h
 include/mlir/Target/LLVMIR/Dialect/OpenACC/OpenACCToLLVMIRTranslation.h
 include/mlir/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.h
+include/mlir/Target/LLVMIR/Dialect/OpenMPCommon.h
 include/mlir/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.h
 include/mlir/Target/LLVMIR/Dialect/X86Vector/X86VectorToLLVMIRTranslation.h
 include/mlir/Target/LLVMIR/Export.h
@@ -1162,6 +1320,13 @@ include/mlir/Tools/PDLL/ODS/Operation.h
 include/mlir/Tools/PDLL/Parser/CodeComplete.h
 include/mlir/Tools/PDLL/Parser/Parser.h
 include/mlir/Tools/ParseUtilities.h
+include/mlir/Tools/Plugins/DialectPlugin.h
+include/mlir/Tools/Plugins/PassPlugin.h
+include/mlir/Tools/lsp-server-support/CompilationDatabase.h
+include/mlir/Tools/lsp-server-support/Logging.h
+include/mlir/Tools/lsp-server-support/Protocol.h
+include/mlir/Tools/lsp-server-support/SourceMgrUtils.h
+include/mlir/Tools/lsp-server-support/Transport.h
 include/mlir/Tools/mlir-lsp-server/MlirLspServerMain.h
 include/mlir/Tools/mlir-opt/MlirOptMain.h
 include/mlir/Tools/mlir-pdll-lsp-server/MlirPdllLspServerMain.h
@@ -1170,6 +1335,7 @@ include/mlir/Tools/mlir-tblgen/MlirTblgenMain.h
 include/mlir/Tools/mlir-translate/MlirTranslateMain.h
 include/mlir/Tools/mlir-translate/Translation.h
 include/mlir/Tools/tblgen-lsp-server/TableGenLspServerMain.h
+include/mlir/Transforms/CSE.h
 include/mlir/Transforms/CommutativityUtils.h
 include/mlir/Transforms/ControlFlowSinkUtils.h
 include/mlir/Transforms/DialectConversion.h
@@ -1178,10 +1344,13 @@ include/mlir/Transforms/GreedyPatternRewriteDriver.h
 include/mlir/Transforms/InliningUtils.h
 include/mlir/Transforms/LocationSnapshot.h
 include/mlir/Transforms/LoopInvariantCodeMotionUtils.h
+include/mlir/Transforms/Mem2Reg.h
+include/mlir/Transforms/OneToNTypeConversion.h
 include/mlir/Transforms/Passes.h
 include/mlir/Transforms/Passes.h.inc
 include/mlir/Transforms/Passes.td
 include/mlir/Transforms/RegionUtils.h
+include/mlir/Transforms/SROA.h
 include/mlir/Transforms/TopologicalSortUtils.h
 include/mlir/Transforms/Transforms.capi.cpp.inc
 include/mlir/Transforms/Transforms.capi.h.inc
@@ -1196,6 +1365,8 @@ lib/cmake/mlir/MLIRTargets.cmake
 lib/libMLIR-C.so
 lib/libMLIRAMDGPUDialect.a
 lib/libMLIRAMDGPUToROCDL.a
+lib/libMLIRAMDGPUTransforms.a
+lib/libMLIRAMDGPUUtils.a
 lib/libMLIRAMXDialect.a
 lib/libMLIRAMXToLLVMIRTranslation.a
 lib/libMLIRAMXTransforms.a
@@ -1212,9 +1383,14 @@ lib/libMLIRArithToLLVM.a
 lib/libMLIRArithToSPIRV.a
 lib/libMLIRArithTransforms.a
 lib/libMLIRArithUtils.a
+lib/libMLIRArithValueBoundsOpInterfaceImpl.a
 lib/libMLIRArmNeon2dToIntr.a
 lib/libMLIRArmNeonDialect.a
 lib/libMLIRArmNeonToLLVMIRTranslation.a
+lib/libMLIRArmSMEDialect.a
+lib/libMLIRArmSMEToLLVMIRTranslation.a
+lib/libMLIRArmSMETransforms.a
+lib/libMLIRArmSMEUtils.a
 lib/libMLIRArmSVEDialect.a
 lib/libMLIRArmSVEToLLVMIRTranslation.a
 lib/libMLIRArmSVETransforms.a
@@ -1226,8 +1402,11 @@ lib/libMLIRBufferizationDialect.a
 lib/libMLIRBufferizationToMemRef.a
 lib/libMLIRBufferizationTransformOps.a
 lib/libMLIRBufferizationTransforms.a
+lib/libMLIRBuiltinToLLVMIRTranslation.a
+lib/libMLIRBytecodeOpInterface.a
 lib/libMLIRBytecodeReader.a
 lib/libMLIRBytecodeWriter.a
+lib/libMLIRCAPIArith.a
 lib/libMLIRCAPIAsync.a
 lib/libMLIRCAPIControlFlow.a
 lib/libMLIRCAPIConversion.a
@@ -1240,6 +1419,8 @@ lib/libMLIRCAPIInterfaces.a
 lib/libMLIRCAPILLVM.a
 lib/libMLIRCAPILinalg.a
 lib/libMLIRCAPIMLProgram.a
+lib/libMLIRCAPIMath.a
+lib/libMLIRCAPIMemRef.a
 lib/libMLIRCAPIPDL.a
 lib/libMLIRCAPIQuant.a
 lib/libMLIRCAPIRegisterEverything.a
@@ -1249,11 +1430,13 @@ lib/libMLIRCAPISparseTensor.a
 lib/libMLIRCAPITensor.a
 lib/libMLIRCAPITransformDialect.a
 lib/libMLIRCAPITransforms.a
+lib/libMLIRCAPIVector.a
 lib/libMLIRCallInterfaces.a
 lib/libMLIRCastInterfaces.a
 lib/libMLIRComplexDialect.a
 lib/libMLIRComplexToLLVM.a
 lib/libMLIRComplexToLibm.a
+lib/libMLIRComplexToSPIRV.a
 lib/libMLIRComplexToStandard.a
 lib/libMLIRControlFlowDialect.a
 lib/libMLIRControlFlowInterfaces.a
@@ -1262,6 +1445,7 @@ lib/libMLIRControlFlowToSPIRV.a
 lib/libMLIRCopyOpInterface.a
 lib/libMLIRDLTIDialect.a
 lib/libMLIRDataLayoutInterfaces.a
+lib/libMLIRDebug.a
 lib/libMLIRDerivedAttributeOpInterface.a
 lib/libMLIRDestinationStyleOpInterface.a
 lib/libMLIRDialect.a
@@ -1270,12 +1454,15 @@ lib/libMLIREmitCDialect.a
 lib/libMLIRExecutionEngine.a
 lib/libMLIRExecutionEngineUtils.a
 lib/libMLIRFromLLVMIRTranslationRegistration.a
+lib/libMLIRFuncAllExtensions.a
 lib/libMLIRFuncDialect.a
+lib/libMLIRFuncInlinerExtension.a
 lib/libMLIRFuncToLLVM.a
 lib/libMLIRFuncToSPIRV.a
 lib/libMLIRFuncTransforms.a
-lib/libMLIRGPUOps.a
+lib/libMLIRGPUDialect.a
 lib/libMLIRGPUToGPURuntimeTransforms.a
+lib/libMLIRGPUToLLVMIRTranslation.a
 lib/libMLIRGPUToNVVMTransforms.a
 lib/libMLIRGPUToROCDLTransforms.a
 lib/libMLIRGPUToSPIRV.a
@@ -1283,6 +1470,7 @@ lib/libMLIRGPUToVulkanTransforms.a
 lib/libMLIRGPUTransformOps.a
 lib/libMLIRGPUTransforms.a
 lib/libMLIRIR.a
+lib/libMLIRIRDL.a
 lib/libMLIRIndexDialect.a
 lib/libMLIRIndexToLLVM.a
 lib/libMLIRInferIntRangeCommon.a
@@ -1294,7 +1482,6 @@ lib/libMLIRLLVMDialect.a
 lib/libMLIRLLVMIRToLLVMTranslation.a
 lib/libMLIRLLVMIRTransforms.a
 lib/libMLIRLLVMToLLVMIRTranslation.a
-lib/libMLIRLinalgAnalysis.a
 lib/libMLIRLinalgDialect.a
 lib/libMLIRLinalgToLLVM.a
 lib/libMLIRLinalgToStandard.a
@@ -1319,15 +1506,18 @@ lib/libMLIRMemRefToSPIRV.a
 lib/libMLIRMemRefTransformOps.a
 lib/libMLIRMemRefTransforms.a
 lib/libMLIRMemRefUtils.a
+lib/libMLIRMemorySlotInterfaces.a
 lib/libMLIRMlirOptMain.a
 lib/libMLIRNVGPUDialect.a
 lib/libMLIRNVGPUToNVVM.a
+lib/libMLIRNVGPUTransformOps.a
 lib/libMLIRNVGPUTransforms.a
 lib/libMLIRNVGPUUtils.a
 lib/libMLIRNVVMDialect.a
+lib/libMLIRNVVMToLLVM.a
 lib/libMLIRNVVMToLLVMIRTranslation.a
+lib/libMLIRObservers.a
 lib/libMLIROpenACCDialect.a
-lib/libMLIROpenACCToLLVM.a
 lib/libMLIROpenACCToLLVMIRTranslation.a
 lib/libMLIROpenACCToSCF.a
 lib/libMLIROpenMPDialect.a
@@ -1343,6 +1533,7 @@ lib/libMLIRPDLToPDLInterp.a
 lib/libMLIRParallelCombiningOpInterface.a
 lib/libMLIRParser.a
 lib/libMLIRPass.a
+lib/libMLIRPluginsLib.a
 lib/libMLIRPresburger.a
 lib/libMLIRQuantDialect.a
 lib/libMLIRQuantUtils.a
@@ -1382,7 +1573,6 @@ lib/libMLIRSparseTensorRuntime.a
 lib/libMLIRSparseTensorTransforms.a
 lib/libMLIRSparseTensorUtils.a
 lib/libMLIRSupport.a
-lib/libMLIRSupportIndentedOstream.a
 lib/libMLIRTableGen.a
 lib/libMLIRTargetCpp.a
 lib/libMLIRTargetLLVMIRExport.a
@@ -1393,6 +1583,7 @@ lib/libMLIRTensorInferTypeOpInterfaceImpl.a
 lib/libMLIRTensorTilingInterfaceImpl.a
 lib/libMLIRTensorToLinalg.a
 lib/libMLIRTensorToSPIRV.a
+lib/libMLIRTensorTransformOps.a
 lib/libMLIRTensorTransforms.a
 lib/libMLIRTensorUtils.a
 lib/libMLIRTilingInterface.a
@@ -1406,11 +1597,17 @@ lib/libMLIRTosaTransforms.a
 lib/libMLIRTransformDialect.a
 lib/libMLIRTransformDialectTransforms.a
 lib/libMLIRTransformDialectUtils.a
+lib/libMLIRTransformPDLExtension.a
 lib/libMLIRTransformUtils.a
 lib/libMLIRTransforms.a
 lib/libMLIRTranslateLib.a
+lib/libMLIRUBDialect.a
+lib/libMLIRUBToLLVM.a
+lib/libMLIRUBToSPIRV.a
+lib/libMLIRValueBoundsOpInterface.a
 lib/libMLIRVectorDialect.a
 lib/libMLIRVectorInterfaces.a
+lib/libMLIRVectorToArmSME.a
 lib/libMLIRVectorToGPU.a
 lib/libMLIRVectorToLLVM.a
 lib/libMLIRVectorToSCF.a
diff --git a/mlir/distinfo b/mlir/distinfo
index f2181a1b25..1afc66e94d 100644
--- a/mlir/distinfo
+++ b/mlir/distinfo
@@ -1,10 +1,13 @@
 $NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
 
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-BLAKE2s (mlir-16.0.6.src.tar.xz) = 296bc315f0a73cacf168539a0f1fed67edc928aed20cdf9eff2227e37dace2fc
-SHA512 (mlir-16.0.6.src.tar.xz) = 93a34061a6939aff0009883a14627cf8391530aa86740cf2341b73c63db394fde4b7066de84afb49a7adf79d1dc4d0c35f6dbc261fccc5ffc645109facd7802d
-Size (mlir-16.0.6.src.tar.xz) = 4555584 bytes
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+BLAKE2s (mlir-17.0.3.src.tar.xz) = 1bdaefac94c0c3a60d9b85aa4bb5cbd17205f75b9a3ec63ae3a0630e0ad7e53a
+SHA512 (mlir-17.0.3.src.tar.xz) = 06d4598745cadb80eb6275a487b8f1b0da607cd64e2467dba19f2a7611e1e691e74efaad5467c6d09d59cc3b5e9d63b7a5809d4e4f5e23b400c0e4a9218d4049
+Size (mlir-17.0.3.src.tar.xz) = 5334932 bytes
+BLAKE2s (runtimes-17.0.3.src.tar.xz) = 213f23b58df3b54da5b3445edee29734519bcf8508b294e981dfd70348bfeb35
+SHA512 (runtimes-17.0.3.src.tar.xz) = 7c00e8c8b9f3eeeb07f7c15b076ed120b968728b98699952a3afb6102133e1106ee2e2a90062056fd2d8e1e038648cb22e1ef676abe060cc2e049d50df8730cc
+Size (runtimes-17.0.3.src.tar.xz) = 6244 bytes
 SHA1 (patch-cmake_modules_MLIRConfig.cmake.in) = 528ffcd98d35b22c168b228daca28af319a47c5c
-SHA1 (patch-tools_mlir-tblgen_CMakeLists.txt) = 668c55c4a056badf43add0bce3fadc07837336d9
+SHA1 (patch-tools_mlir-tblgen_CMakeLists.txt) = 7b78acbf8a85443f2cc3f13786bbbda25b0b8d74
diff --git a/mlir/patches/patch-tools_mlir-tblgen_CMakeLists.txt b/mlir/patches/patch-tools_mlir-tblgen_CMakeLists.txt
index 70c3d934d4..56d07b7140 100644
--- a/mlir/patches/patch-tools_mlir-tblgen_CMakeLists.txt
+++ b/mlir/patches/patch-tools_mlir-tblgen_CMakeLists.txt
@@ -2,11 +2,11 @@ $NetBSD$
 
 Install mlir-tblgen.
 
---- tools/mlir-tblgen/CMakeLists.txt.orig	2023-06-04 18:58:02.000000000 +0000
+--- tools/mlir-tblgen/CMakeLists.txt.orig	2023-10-17 06:20:52.000000000 +0000
 +++ tools/mlir-tblgen/CMakeLists.txt
-@@ -35,5 +35,6 @@ target_link_libraries(mlir-tblgen
+@@ -36,5 +36,6 @@ set_target_properties(mlir-tblgen PROPER
+ target_link_libraries(mlir-tblgen
    PRIVATE
-   MLIRSupportIndentedOstream
    MLIRTblgenLib)
 +install(TARGETS mlir-tblgen DESTINATION bin)
  
diff --git a/openmp/distinfo b/openmp/distinfo
index d59822b378..2e7ad06c84 100644
--- a/openmp/distinfo
+++ b/openmp/distinfo
@@ -1,9 +1,12 @@
 $NetBSD: distinfo,v 1.17 2023/01/12 19:32:54 adam Exp $
 
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-BLAKE2s (openmp-16.0.6.src.tar.xz) = bc49274c640b7d2e7ae931f2a6731917c5e7caa762b04067fd2bc6f2946ff601
-SHA512 (openmp-16.0.6.src.tar.xz) = b68b60bd10ae6df3853513c163d6d6dc040cdcd4b48802002cd0da24d3c3bc88002e432012081beff15e887fb12b71ef0932f89f21229a80c61568c1643460fc
-Size (openmp-16.0.6.src.tar.xz) = 1278072 bytes
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+BLAKE2s (openmp-17.0.3.src.tar.xz) = fcfca62a6266a1bdccdd26e0493cd62612688c119e3649d14838068fc07a4b4c
+SHA512 (openmp-17.0.3.src.tar.xz) = 922e785c9b85788e84edd0de1077ff86a6aba1a1493ddc5a97d3a4bc89d6afa3c67449d73ae44105c5473fec2635d2b47e238fcf4eaf4654d844c0a09842a5ee
+Size (openmp-17.0.3.src.tar.xz) = 1273276 bytes
+BLAKE2s (runtimes-17.0.3.src.tar.xz) = 213f23b58df3b54da5b3445edee29734519bcf8508b294e981dfd70348bfeb35
+SHA512 (runtimes-17.0.3.src.tar.xz) = 7c00e8c8b9f3eeeb07f7c15b076ed120b968728b98699952a3afb6102133e1106ee2e2a90062056fd2d8e1e038648cb22e1ef676abe060cc2e049d50df8730cc
+Size (runtimes-17.0.3.src.tar.xz) = 6244 bytes
 SHA1 (patch-runtime_src_kmp__runtime.cpp) = 70f4396d4c1631fbd74692ef26b22d08675da547
diff --git a/polly/PLIST b/polly/PLIST
index 23073b79e6..b5314445b2 100644
--- a/polly/PLIST
+++ b/polly/PLIST
@@ -10,7 +10,6 @@ include/polly/CodeGen/IslNodeBuilder.h
 include/polly/CodeGen/LoopGenerators.h
 include/polly/CodeGen/LoopGeneratorsGOMP.h
 include/polly/CodeGen/LoopGeneratorsKMP.h
-include/polly/CodeGen/PPCGCodeGeneration.h
 include/polly/CodeGen/PerfMonitor.h
 include/polly/CodeGen/RuntimeDebugBuilder.h
 include/polly/CodeGen/Utils.h
@@ -46,7 +45,6 @@ include/polly/Support/GICHelper.h
 include/polly/Support/ISLOStream.h
 include/polly/Support/ISLOperators.h
 include/polly/Support/ISLTools.h
-include/polly/Support/LinkGPURuntime.h
 include/polly/Support/SCEVAffinator.h
 include/polly/Support/SCEVValidator.h
 include/polly/Support/ScopHelper.h
diff --git a/polly/distinfo b/polly/distinfo
index 22e52f9928..a43ff88495 100644
--- a/polly/distinfo
+++ b/polly/distinfo
@@ -1,9 +1,11 @@
 $NetBSD: distinfo,v 1.29 2023/01/12 19:32:53 adam Exp $
 
-BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
-SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
-Size (cmake-16.0.6.src.tar.xz) = 9008 bytes
-BLAKE2s (polly-16.0.6.src.tar.xz) = bc6e7cb25b4eef49d004da174a9f50dfbfe9b7dccc549178f14b3b42822fc34c
-SHA512 (polly-16.0.6.src.tar.xz) = 791473c145930fcd1541002c5385c2fbc1b6dbecc60ca19b69f81d4df27a324609d1b0fc2723893147886eab988b4bf88e9c0ca815b1aa5b0a10d899cf32bc7e
-Size (polly-16.0.6.src.tar.xz) = 9356796 bytes
-SHA1 (patch-CMakeLists.txt) = 8138e11f858f23e0069c8fa0c07eff2b7aaf8c43
+BLAKE2s (cmake-17.0.3.src.tar.xz) = 69b321af57f81663ce7e91ec2096c66b9d13019b2540c57e882b55150b63fb50
+SHA512 (cmake-17.0.3.src.tar.xz) = 6144afc615ff8a982fd9302caf9b6a0ebf6115e7c38374ce78999493fb9db7f6aaa89e9a32e51c8163ff94fb78bb56d11f93a5482d31afb4494cbac4ced789be
+Size (cmake-17.0.3.src.tar.xz) = 8712 bytes
+BLAKE2s (polly-17.0.3.src.tar.xz) = c3410bbb78400b43cfb69b21dd7990e6d991df0e68d929a126a88088a8d848bb
+SHA512 (polly-17.0.3.src.tar.xz) = db5c6850d092109d5889fe304f5b51475b682a585a896df6021c59c7cb6b3498515246ecb5ac18437c2365c1371488eb266ca0a2eb81331768cedacfab04af36
+Size (polly-17.0.3.src.tar.xz) = 9220720 bytes
+BLAKE2s (runtimes-17.0.3.src.tar.xz) = 213f23b58df3b54da5b3445edee29734519bcf8508b294e981dfd70348bfeb35
+SHA512 (runtimes-17.0.3.src.tar.xz) = 7c00e8c8b9f3eeeb07f7c15b076ed120b968728b98699952a3afb6102133e1106ee2e2a90062056fd2d8e1e038648cb22e1ef676abe060cc2e049d50df8730cc
+Size (runtimes-17.0.3.src.tar.xz) = 6244 bytes
diff --git a/polly/patches/patch-CMakeLists.txt b/polly/patches/patch-CMakeLists.txt
deleted file mode 100644
index 847e6ab836..0000000000
--- a/polly/patches/patch-CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-CMakeLists.txt,v 1.4 2017/12/01 19:22:12 adam Exp $
-
-Disable tests: they require missing files from standard LLVM build (lit tool)
-
---- CMakeLists.txt.orig	2017-07-11 11:37:35.000000000 +0000
-+++ CMakeLists.txt
-@@ -176,10 +176,6 @@ add_definitions( -D_GNU_SOURCE )
- 
- add_subdirectory(docs)
- add_subdirectory(lib)
--add_subdirectory(test)
--if (POLLY_GTEST_AVAIL)
--  add_subdirectory(unittests)
--endif ()
- add_subdirectory(tools)
- add_subdirectory(cmake)
- # TODO: docs.


Home | Main Index | Thread Index | Old Index