SuccessChanges

Summary

  1. [scudo] [standalone] [NFC] clang-format code. (details)
  2. [DFSan] Add custom wrapper for getpeername. (details)
  3. [PGO] Enable preinline and cleanup when optimize for size (details)
  4. [mlir][StandardOps] Verify that the result of an integer constant is signless (details)
  5. [GWP-ASan] IWYU & clang-format (details)
  6. [mlir][Parser] Fix crash in DenseElementsAttr parser when no elements are parsed (details)
  7. Add MLIR Python binding for Array Attribute (details)
  8. [mlir][SCCP] Don't visit private callables unless they are used when tracking interprocedural arguments/results (details)
Commit ebff66be655acccd2bed3798c2b6879d18c509e1 by 31459023+hctim
[scudo] [standalone] [NFC] clang-format code.

clang-format the scudo standalone codebase.

Reviewed By: cryptoad

Differential Revision: https://reviews.llvm.org/D93056
The file was modifiedcompiler-rt/lib/scudo/standalone/tools/compute_size_class_config.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/fuzz/get_error_info_fuzzer.cpp
Commit fa4bd4b338d1c8c0a95b63b13640b10694b8185c by mascasa
[DFSan] Add custom wrapper for getpeername.

The wrapper clears shadow for addr and addrlen when written to.

Reviewed By: stephan.yichao.zhao

Differential Revision: https://reviews.llvm.org/D93046
The file was modifiedcompiler-rt/lib/dfsan/dfsan_custom.cpp
The file was modifiedcompiler-rt/test/dfsan/custom.cpp
The file was modifiedcompiler-rt/lib/dfsan/done_abilist.txt
Commit b5216b2950499a95df157063d6f0cd0f9486ca8d by zequanwu
[PGO] Enable preinline and cleanup when optimize for size

Differential Revision: https://reviews.llvm.org/D91673
The file was addedllvm/test/Other/pm-pgo-preinline.ll
The file was addedllvm/test/Other/new-pm-pgo-preinline.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit 1f5f006d9d53e785296d1a8fbb0e90904a5eaf60 by riddleriver
[mlir][StandardOps] Verify that the result of an integer constant is signless

This was missed when supported for unsigned/signed integer types was first added, and results in crashes if a user tries to create/print a constant with the incorrect integer type.

Fixes PR#46222

Differential Revision: https://reviews.llvm.org/D92981
The file was modifiedmlir/test/Dialect/Standard/invalid.mlir
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
Commit 61a038f8528f12c0c2ee5a9794c257fdae626d29 by 31459023+hctim
[GWP-ASan] IWYU & clang-format

Run an IWYU pass and clang-format GWP-ASan code.

Reviewed By: eugenis, mcgrathr

Differential Revision: https://reviews.llvm.org/D92688
The file was modifiedcompiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/mutex.h
The file was modifiedcompiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.h
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/crash_handler.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/platform_specific/common_posix.cpp
Commit 75eca67c1c4b53a07a70cd3c8036713aec537769 by riddleriver
[mlir][Parser] Fix crash in DenseElementsAttr parser when no elements are parsed

This fixes a crash when no elements are parsed, but the type expects at least one.

Fixes PR#47763

Differential Revision: https://reviews.llvm.org/D92982
The file was modifiedmlir/lib/Parser/AttributeParser.cpp
The file was modifiedmlir/test/IR/invalid.mlir
Commit 285c0aa262c9255e6ea4efbce1418e5f5f17e9c1 by joker.eph
Add MLIR Python binding for Array Attribute

Differential Revision: https://reviews.llvm.org/D92948
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/test/Bindings/Python/ir_attributes.py
Commit c24f88b4db2ef359f47e976d8d79334ced221288 by riddleriver
[mlir][SCCP] Don't visit private callables unless they are used when tracking interprocedural arguments/results

This fixes a subtle bug where SCCP could incorrectly optimize a private callable while waiting for its arguments to be resolved.

Fixes PR#48457

Differential Revision: https://reviews.llvm.org/D92976
The file was modifiedmlir/test/Transforms/sccp-callgraph.mlir
The file was modifiedmlir/lib/Transforms/SCCP.cpp