Progress:
Changes

Summary

  1. [sanitizer] Add delta compression stack depot (details)
  2. [SLP]Fix reused extracts cost. (details)
  3. [mlir][bufferization] fixed typo in to_memref doc (details)
  4. profi - a flow-based profile inference algorithm: Part II (out of 3) (details)
  5. [lld-macho] Remove old macho darwin lld (details)
  6. [Bazel] Remove old MachO LLD from the Bazel build (details)
Commit 78cc133c63173a4b5b7a43750cc507d4cff683cf by Vitaly Buka
[sanitizer] Add delta compression stack depot

Compress by factor 4x, takes about 10ms per 8 MiB block.

Depends on D114498.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D114503
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp (diff)
Commit ba74bb3a226e1b4660537f274627285b1bf41ee1 by a.bataev
[SLP]Fix reused extracts cost.

If the extractelement instruction is used multiple times in the
different tree entries (either vectorized, or gathered), need to
compensate the scalar cost of such instructions. They are completely
removed if all users are part of the tree but we need to compensate the
cost only once for each instruction.

Differential Revision: https://reviews.llvm.org/D114958
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/extractelement-multiple-uses.ll (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
Commit 543924284ff7432f1e2febcbd5b1a171136c4ccd by ajcbik
[mlir][bufferization] fixed typo in to_memref doc

Reviewed By: pifon2a

Differential Revision: https://reviews.llvm.org/D114824
The file was modifiedmlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td (diff)
Commit 98dd2f9ed3ddb0a114582d48d48f781d9c80a2da by hoy
profi - a flow-based profile inference algorithm: Part II (out of 3)

This is a continuation of D109860.

Traditional flow-based algorithms cannot guarantee that the resulting edge
frequencies correspond to a *connected* flow in the control-flow graph. For
example, for an instance in the attached figure, a flow-based (or any other)
inference algorithm may produce an output in which the hot loop is disconnected
from the entry block (refer to the rightmost graph in the figure). Furthermore,
creating a connected minimum-cost maximum flow is a computationally NP-hard
problem. Hence, we apply a post-processing adjustments to the computed flow
by connecting all isolated flow components ("islands").

This feature helps to keep all blocks with sample counts connected and results
in significant performance wins for some binaries.
{F19077343}

Reviewed By: hoy

Differential Revision: https://reviews.llvm.org/D109903
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileInference.cpp (diff)
The file was addedllvm/test/Transforms/SampleProfile/profile-inference-islands.ll
The file was addedllvm/test/Transforms/SampleProfile/Inputs/profile-inference-islands.prof
Commit 9e3552523ebd3385487e01e3e7af37b8c0efaf57 by keithbsmiley
[lld-macho] Remove old macho darwin lld

During the llvm round table it was generally agreed that the newer macho
lld implementation is feature complete enough to replace the old
implementation entirely. This will reduce confusion for new users who
aren't aware of the history.

Differential Revision: https://reviews.llvm.org/D114842
The file was removedlld/test/mach-o/infer-arch.yaml
The file was removedlld/test/mach-o/mh_dylib_header.yaml
The file was removedlld/test/mach-o/Inputs/write-final-sections.yaml
The file was removedlld/lib/Core/CMakeLists.txt
The file was removedlld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
The file was modifiedlld/include/lld/Core/Reference.h (diff)
The file was removedlld/test/mach-o/parse-data-in-code-x86.yaml
The file was removedlld/test/mach-o/Inputs/wrong-arch-error.yaml
The file was removedlld/test/mach-o/parse-text-relocs-arm64.yaml
The file was removedlld/test/mach-o/run-tlv-pass-x86-64.yaml
The file was removedlld/test/darwin/cmdline-objc_gc.objtxt
The file was removedlld/test/mach-o/image-base.yaml
The file was removedlld/test/mach-o/rpath.yaml
The file was removedlld/test/mach-o/objc-image-info-unsupported-gc.yaml
The file was removedlld/test/mach-o/parse-literals-error.yaml
The file was removedlld/test/mach-o/Inputs/got-order2.yaml
The file was removedlld/test/mach-o/libresolve-one-syslibroot.yaml
The file was removedlld/test/mach-o/parse-initializers64.yaml
The file was removedlld/test/mach-o/Inputs/exported_symbols_list.exp
The file was removedlld/test/mach-o/libresolve-simple.yaml
The file was removedlld/test/mach-o/objc-image-info-mismatched-swift-version.yaml
The file was removedlld/test/mach-o/subsections-via-symbols-default.yaml
The file was removedlld/test/mach-o/data-only-dylib.yaml
The file was removedlld/lib/ReaderWriter/MachO/StubsPass.cpp
The file was removedlld/test/mach-o/exported_symbols_list-undef.yaml
The file was removedlld/test/mach-o/Inputs/lazy-bind-x86_64-3.yaml
The file was removedlld/test/mach-o/source-version.yaml
The file was removedlld/lib/ReaderWriter/MachO/TLVPass.cpp
The file was removedlld/test/darwin/cmdline-objc_gc_only.objtxt
The file was removedlld/test/mach-o/export-trie-order.yaml
The file was removedlld/include/lld/ReaderWriter/MachOLinkingContext.h
The file was removedlld/test/mach-o/order_file-basic.yaml
The file was removedlld/test/mach-o/Inputs/unwind-info-simple-arm64.yaml
The file was removedlld/test/mach-o/force_load-dylib.yaml
The file was removedlld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
The file was removedlld/test/mach-o/Inputs/hello-world-x86_64.yaml
The file was removedlld/test/mach-o/Inputs/no-version-min-load-command-object.yaml
The file was removedlld/test/mach-o/function-starts-load-command.yaml
The file was removedlld/test/mach-o/Inputs/use-simple-dylib.yaml
The file was removedlld/test/mach-o/Inputs/lazy-bind-x86_64.yaml
The file was removedlld/test/mach-o/stub-link.s
The file was removedlld/test/mach-o/Inputs/hello-world-arm64.yaml
The file was removedlld/unittests/MachOTests/empty_obj_x86_armv7.txt
The file was removedlld/test/mach-o/unwind-info-simple-x86_64.yaml
The file was removedlld/test/mach-o/parse-cfstring64.yaml
The file was removedlld/test/mach-o/parse-data-in-code-armv7.yaml
The file was removedlld/test/mach-o/Inputs/libbar.a
The file was removedlld/test/mach-o/Inputs/hello-world-x86.yaml
The file was removedlld/test/mach-o/framework-user-paths.yaml
The file was removedlld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp
The file was removedlld/unittests/DriverTests/CMakeLists.txt
The file was removedlld/test/mach-o/parse-eh-frame-x86-anon.yaml
The file was removedlld/lib/ReaderWriter/MachO/ExecutableAtoms.h
The file was removedlld/test/mach-o/Inputs/libfoo.a
The file was removedlld/test/mach-o/seg-protection-arm64.yaml
The file was removedlld/lib/ReaderWriter/MachO/MachONormalizedFile.h
The file was removedlld/test/mach-o/string-table.yaml
The file was removedlld/lib/ReaderWriter/MachO/FlatNamespaceFile.h
The file was removedlld/test/mach-o/Inputs/x86/libSystem.yaml
The file was removedlld/test/mach-o/objc-image-info-invalid-size.yaml
The file was removedlld/test/mach-o/keep_private_externs.yaml
The file was removedlld/test/mach-o/objc-category-list-atom.yaml
The file was removedlld/test/mach-o/Inputs/re-exported-dylib-ordinal3.yaml
The file was modifiedlld/tools/lld/lld.cpp (diff)
The file was removedlld/test/mach-o/Inputs/arm-shims.yaml
The file was removedlld/lib/ReaderWriter/MachO/MachOPasses.h
The file was removedlld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
The file was removedlld/test/mach-o/Inputs/partial.filelist
The file was removedlld/test/mach-o/Inputs/full.filelist
The file was removedlld/test/mach-o/demangle.yaml
The file was removedlld/test/mach-o/objc_export_list.yaml
The file was removedlld/test/mach-o/parse-eh-frame-relocs-x86_64.yaml
The file was removedlld/test/mach-o/force_load-x86_64.yaml
The file was removedlld/test/mach-o/Inputs/arm64/libSystem.yaml
The file was removedlld/test/mach-o/hello-world-arm64.yaml
The file was removedlld/test/mach-o/libresolve-bizarre-root-override.yaml
The file was removedlld/test/mach-o/version-min-load-command-object.yaml
The file was removedlld/lib/ReaderWriter/MachO/SectCreateFile.h
The file was removedlld/test/mach-o/lit.local.cfg
The file was removedlld/test/mach-o/do-not-emit-unwind-fde-arm64.yaml
The file was removedlld/test/mach-o/exe-offsets.yaml
The file was removedlld/test/mach-o/PIE.yaml
The file was removedlld/test/darwin/Inputs/native-and-mach-o.objtxt
The file was removedlld/test/mach-o/parse-section-no-symbol.yaml
The file was removedlld/test/mach-o/objc-image-info-pass-output.yaml
The file was removedlld/test/mach-o/lib-search-paths.yaml
The file was removedlld/test/mach-o/parse-compact-unwind32.yaml
The file was removedlld/lib/ReaderWriter/MachO/GOTPass.cpp
The file was removedlld/lib/Core/Resolver.cpp
The file was removedlld/lib/ReaderWriter/YAML/CMakeLists.txt
The file was removedlld/test/mach-o/exe-segment-overlap.yaml
The file was removedlld/test/mach-o/interposing-section.yaml
The file was removedlld/lib/Core/Error.cpp
The file was removedlld/test/darwin/cmdline-objc_gc_compaction.objtxt
The file was removedlld/test/mach-o/dso_handle.yaml
The file was removedlld/test/mach-o/exported_symbols_list-obj.yaml
The file was modifiedlld/test/CMakeLists.txt (diff)
The file was removedlld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
The file was removedlld/lib/ReaderWriter/MachO/Atoms.h
The file was removedlld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
The file was removedlld/test/mach-o/bind-opcodes.yaml
The file was removedlld/test/mach-o/fat-archive.yaml
The file was removedlld/test/mach-o/Inputs/x86_64/libSystem.yaml
The file was removedlld/include/lld/ReaderWriter/YamlContext.h
The file was removedlld/test/mach-o/hello-world-armv7.yaml
The file was removedlld/test/mach-o/filelist.yaml
The file was removedlld/test/mach-o/arm-subsections-via-symbols.yaml
The file was removedlld/test/mach-o/Inputs/interposing-section.yaml
The file was removedlld/test/mach-o/Inputs/order_file-basic.order
The file was removedlld/test/mach-o/debug-syms.yaml
The file was modifiedlld/tools/lld/CMakeLists.txt (diff)
The file was removedlld/test/darwin/Inputs/native-and-mach-o2.objtxt
The file was removedlld/test/mach-o/version-min-load-command.yaml
The file was removedlld/test/mach-o/parse-relocs-x86.yaml
The file was removedlld/test/mach-o/hello-world-armv6.yaml
The file was removedlld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
The file was removedlld/test/mach-o/lc_segment_filesize.yaml
The file was removedlld/unittests/MachOTests/CMakeLists.txt
The file was removedlld/test/mach-o/Inputs/hw.raw_bytes
The file was removedlld/test/mach-o/hello-world-x86.yaml
The file was removedlld/test/mach-o/arm-shims.yaml
The file was removedlld/lib/ReaderWriter/MachO/LayoutPass.h
The file was removedlld/test/mach-o/Inputs/lazy-bind-x86_64-2.yaml
The file was removedlld/test/mach-o/parse-arm-relocs.yaml
The file was removedlld/test/mach-o/arm64-relocs-errors-delta64-offset.yaml
The file was removedlld/test/mach-o/Inputs/lib-search-paths/usr/local/lib/file.o
The file was removedlld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
The file was removedlld/test/mach-o/parse-data-relocs-arm64.yaml
The file was removedlld/lib/Core/DefinedAtom.cpp
The file was removedlld/test/mach-o/Inputs/use-dylib-install-names.yaml
The file was removedlld/test/mach-o/objc-image-info-invalid-version.yaml
The file was removedlld/test/mach-o/executable-exports.yaml
The file was removedlld/test/darwin/native-and-mach-o.objtxt
The file was removedlld/lib/Core/Reader.cpp
The file was removedlld/lib/ReaderWriter/MachO/ShimPass.cpp
The file was removedlld/test/mach-o/dylib-install-names.yaml
The file was removedlld/test/mach-o/flat_namespace_undef_suppress.yaml
The file was removedlld/lib/ReaderWriter/FileArchive.cpp
The file was removedlld/test/mach-o/Inputs/DependencyDump.py
The file was removedlld/test/mach-o/sdk-version-error.yaml
The file was removedlld/lib/ReaderWriter/MachO/File.h
The file was removedlld/test/mach-o/sectcreate.yaml
The file was removedlld/test/mach-o/unwind-info-simple-arm64.yaml
The file was removedlld/lib/ReaderWriter/MachO/ObjCPass.cpp
The file was removedlld/test/mach-o/parse-function.yaml
The file was removedlld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
The file was removedlld/test/mach-o/upward-dylib-paths.yaml
The file was removedlld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp
The file was removedlld/test/mach-o/Inputs/lib-search-paths/usr/lib/libmyshared.dylib
The file was removedlld/unittests/CMakeLists.txt
The file was modifiedllvm/utils/gn/secondary/lld/tools/lld/BUILD.gn (diff)
The file was removedlld/test/mach-o/eh-frame-relocs-arm64.yaml
The file was removedlld/lib/CMakeLists.txt
The file was removedlld/test/mach-o/Inputs/armv7/libSystem.yaml
The file was removedlld/test/mach-o/arm64-section-order.yaml
The file was removedlld/test/darwin/cmdline-lto_library.objtxt
The file was removedlld/test/mach-o/parse-tentative-defs.yaml
The file was removedlld/test/mach-o/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
The file was removedlld/test/mach-o/arm64-reloc-negDelta32-fixup.yaml
The file was removedlld/test/mach-o/hello-world-x86_64.yaml
The file was removedlld/test/mach-o/Inputs/lib-search-paths/usr/lib/libmystatic.a
The file was removedlld/test/mach-o/parse-compact-unwind64.yaml
The file was removedlld/test/mach-o/wrong-arch-error.yaml
The file was removedlld/test/mach-o/libresolve-user-paths.yaml
The file was removedlld/lib/Core/File.cpp
The file was removedlld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
The file was removedlld/test/mach-o/objc-image-info-host-vs-simulator.yaml
The file was removedlld/test/mach-o/got-order.yaml
The file was removedlld/lib/ReaderWriter/MachO/WriterMachO.cpp
The file was removedlld/test/mach-o/libresolve-multiple-syslibroots.yaml
The file was removedlld/test/mach-o/mh_bundle_header.yaml
The file was removedlld/test/mach-o/parse-data-relocs-x86_64.yaml
The file was removedlld/test/mach-o/mach_header-cpusubtype.yaml
The file was removedlld/lib/Core/SymbolTable.cpp
The file was removedlld/test/mach-o/library-order.yaml
The file was removedlld/lib/ReaderWriter/MachO/DebugInfo.h
The file was removedlld/test/mach-o/cstring-sections.yaml
The file was removedlld/test/mach-o/parse-initializers32.yaml
The file was removedlld/test/mach-o/parse-data.yaml
The file was removedlld/test/mach-o/Inputs/got-order.yaml
The file was removedlld/test/mach-o/parse-aliases.yaml
The file was removedlld/test/mach-o/arm-interworking-movw.yaml
The file was removedlld/lib/Driver/CMakeLists.txt
The file was removedlld/test/mach-o/parse-eh-frame.yaml
The file was removedlld/lib/Driver/DarwinLdOptions.td
The file was removedlld/test/mach-o/flat_namespace_undef_error.yaml
The file was removedlld/lib/Core/LinkingContext.cpp
The file was removedlld/test/mach-o/Inputs/PIE.yaml
The file was removedlld/test/mach-o/parse-non-lazy-pointers.yaml
The file was removedlld/test/mach-o/parse-cfstring32.yaml
The file was removedlld/test/mach-o/parse-text-relocs-x86_64.yaml
The file was removedlld/lib/ReaderWriter/CMakeLists.txt
The file was removedlld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
The file was removedlld/test/mach-o/empty-sections.yaml
The file was removedlld/test/mach-o/load-commands-size.yaml
The file was removedlld/test/mach-o/Inputs/hello-world-armv7.yaml
The file was removedlld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
The file was removedlld/test/mach-o/data-in-code-load-command.yaml
The file was removedlld/test/mach-o/error-simulator-vs-macosx.yaml
The file was removedlld/test/mach-o/arm-interworking.yaml
The file was removedlld/test/mach-o/parse-eh-frame-x86-labeled.yaml
The file was removedlld/test/mach-o/write-final-sections.yaml
The file was removedlld/test/mach-o/Inputs/cstring-sections.yaml
The file was removedlld/test/mach-o/re-exported-dylib-ordinal.yaml
The file was removedlld/test/mach-o/stack-size.yaml
The file was removedlld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp
The file was removedlld/test/mach-o/upward-dylib-load-command.yaml
The file was removedlld/lib/ReaderWriter/MachO/ArchHandler.cpp
The file was removedlld/lib/ReaderWriter/MachO/ArchHandler.h
The file was removedlld/lib/Core/Writer.cpp
The file was removedlld/test/mach-o/Inputs/re-exported-dylib-ordinal2.yaml
The file was removedlld/unittests/DriverTests/DarwinLdDriverTest.cpp
The file was removedlld/test/mach-o/usage.yaml
The file was removedlld/test/mach-o/dependency_info.yaml
The file was removedlld/test/mach-o/Inputs/bar.yaml
The file was removedlld/lib/Driver/DarwinLdDriver.cpp
The file was removedlld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp
The file was removedlld/lib/ReaderWriter/MachO/LayoutPass.cpp
The file was removedlld/test/mach-o/gcc_except_tab-got-arm64.yaml
The file was removedlld/test/mach-o/parse-literals.yaml
The file was removedlld/test/mach-o/Inputs/hello-world-armv6.yaml
The file was removedlld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
The file was removedlld/test/mach-o/lazy-bind-x86_64.yaml
The file was removedlld/test/mach-o/libresolve-z.yaml
The file was removedlld/test/mach-o/library-rescan.yaml
The file was removedlld/test/mach-o/twolevel_namespace_undef_dynamic_lookup.yaml
The file was removedlld/test/mach-o/twolevel_namespace_undef_warning_suppress.yaml
The file was removedlld/test/mach-o/align_text.yaml
The file was modifiedlld/include/lld/Common/Driver.h (diff)
The file was removedlld/test/mach-o/sectalign.yaml
The file was removedlld/test/mach-o/dead-strip-globals.yaml
The file was removedlld/test/mach-o/seg-protection-x86_64.yaml
The file was removedlld/test/mach-o/use-dylib.yaml
The file was removedlld/test/mach-o/objc-image-info-simulator-vs-host.yaml
The file was removedlld/test/mach-o/Inputs/arm-interworking.yaml
The file was removedlld/test/mach-o/Inputs/re-exported-dylib-ordinal.yaml
The file was removedlld/test/mach-o/use-simple-dylib.yaml
The file was removedlld/test/mach-o/parse-tlv-relocs-x86-64.yaml
The file was removedlld/test/mach-o/Inputs/swift-version-1.yaml
The file was removedlld/test/mach-o/exported_symbols_list-dylib.yaml
The file was modifiedlld/CMakeLists.txt (diff)
The file was removedlld/lib/ReaderWriter/MachO/CMakeLists.txt
The file was removedlld/test/mach-o/sectattrs.yaml
The file was removedlld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
Commit 482b6f2a3d4b76c572bf0c2e8b974d72b0145dcd by rnk
[Bazel] Remove old MachO LLD from the Bazel build

Updates Bazel files for 9e3552523ebd3385487e01e3e7af37b8c0efaf57
The file was modifiedutils/bazel/llvm-project-overlay/lld/BUILD.bazel (diff)