1. hwasan: Emit the globals note even when globals are uninstrumented. (details)
  2. [WebAssembly] Add missing lit.local.cfg (details)
  3. [mlir] [VectorOps] Canonicalization of 1-D memory operations (details)
  4. [NFC] Remove unused function. (details)
Commit c201f27225857a6d0ba85df6ef7d5cbcc2c04e44 by peter
hwasan: Emit the globals note even when globals are uninstrumented.

This lets us support the scenario where a binary is linked from a mix
of object files with both instrumented and non-instrumented globals.
This is likely to occur on Android where the decision of whether to use
instrumented globals is based on the API level, which is user-facing.

Previously, in this scenario, it was possible for the comdat from
one of the object files with non-instrumented globals to be selected,
and since this comdat did not contain the note it would mean that the
note would be missing in the linked binary and the globals' shadow
memory would be left uninitialized, leading to a tag mismatch failure
at runtime when accessing one of the instrumented globals.

It is harmless to include the note when targeting a runtime that does
not support instrumenting globals because it will just be ignored.

Differential Revision:
The file was modifiedllvm/test/Instrumentation/HWAddressSanitizer/globals.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Commit b182ccfc2d6a59d0fad0685746b48f462ebf6052 by tlively
[WebAssembly] Add missing lit.local.cfg
The file was addedllvm/test/Transforms/Inline/WebAssembly/lit.local.cfg
Commit 6b66f21446b982ec698830d0ea8469cee0b208ac by ajcbik
[mlir] [VectorOps] Canonicalization of 1-D memory operations

Masked loading/storing in various forms can be optimized
into simpler memory operations when the mask is all true
or all false. Note that the backend does similar optimizations
but doing this early may expose more opportunities for further
optimizations. This further prepares progressively lowering
transfer read and write into 1-D memory operations.

Reviewed By: ThomasRaoux

Differential Revision:
The file was addedmlir/test/Dialect/Vector/vector-mem-transforms.mlir
The file was modifiedmlir/include/mlir/Dialect/Vector/
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
Commit 800f0eda5b15eb36339336947a601b942d8735a4 by hubert.reinterpretcast
[NFC] Remove unused function.

Differential Revision:
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp