SuccessChanges

Summary

  1. [lld][MachO] Fix UB after D103006 (details)
  2. [NFC][hwasan] Fix "implicitly declaring library function" (details)
  3. [X86] Use EVT::getVectorVT instead of changeVectorElementType in reduceVMULWidth. (details)
  4. [NFC] This is a test commit to check commit access. (details)
  5. [AMDGPU][Libomptarget] Drop dead code related to g_atl_machine (details)
  6. Revert "[NFC] This is a test commit to check commit access." (details)
  7. [ORC-RT] Fix void function handling in the WrapperFunction utility. (details)
  8. [Debug-Info][CodeView] Fix GUID string generation for MSVC generated objects. (details)
  9. [gn build] Port d0a5d8611935 (details)
  10. Support buffers in LinalgFoldUnitExtentDims (details)
  11. [libc] Add a set of elementary operations (details)
Commit b01bfdfda64b684965cd7f97e99e4b0bce5d67fa by Vitaly Buka
[lld][MachO] Fix UB after D103006

ubsan detected:
lld/MachO/SyntheticSections.cpp:636:15: runtime error: null pointer
passed as argument 2, which is declared to never be null
The file was modifiedlld/MachO/SyntheticSections.cpp
Commit 51ed1c6ccc7b9d9b0ff3169b9f5e6b798eed599b by Vitaly Buka
[NFC][hwasan] Fix "implicitly declaring library function"
The file was modifiedcompiler-rt/test/hwasan/TestCases/mem-intrinsics.c
Commit 4017d0335a35334835bfae6fc3e258adcd9ed2dc by craig.topper
[X86] Use EVT::getVectorVT instead of changeVectorElementType in reduceVMULWidth.

Changing vector element type doesn't work for v6i32->v6i16 now
that v6i32 is an MVT and v6i16 is not.

I would like to fix this in changeVectorElementType, but you
need a LLVMContext to call getVectorVT which we can't get from
an MVT.

Fixes PR50709.
The file was addedllvm/test/CodeGen/X86/pr50709.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b4d40e19def8c2e1a77ae30b5ac16751d1c461f7 by CarlosAlbertoEnciso
[NFC] This is a test commit to check commit access.

Add full stop at the end of comment.
The file was modifiedllvm/test/DebugInfo/X86/c-type-units.ll
Commit cadcaf3f46f6ccd3619cb2dd75bf54ed3080f43d by Pushpinder.Singh
[AMDGPU][Libomptarget] Drop dead code related to g_atl_machine

This patch includes some changes which deletes the code accessing
g_atl_machine global. Some accesses related to memory_pools are
still remaining.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D103813
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/machine.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/rt.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/system.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi_interop_hsa.cpp
Commit 5e92cbddb901453ecd04138460c546b96d29097d by CarlosAlbertoEnciso
Revert "[NFC] This is a test commit to check commit access."

This reverts commit b4d40e19def8c2e1a77ae30b5ac16751d1c461f7.
The file was modifiedllvm/test/DebugInfo/X86/c-type-units.ll
Commit 68c161090ef6fe83218af6f627170ae56e5800b1 by Lang Hames
[ORC-RT] Fix void function handling in the WrapperFunction utility.

Handlers returning void previously caused compile errors. Fix that by
substituting SPSEmpty placeholder values.
The file was modifiedcompiler-rt/lib/orc/wrapper_function_utils.h
The file was modifiedcompiler-rt/lib/orc/unittests/wrapper_function_utils_test.cpp
Commit d0a5d8611935b548e1ec546b49201d47ac0a762c by CarlosAlbertoEnciso
[Debug-Info][CodeView] Fix GUID string generation for MSVC generated objects.

This patch is to address https://bugs.llvm.org/show_bug.cgi?id=50459.
  YAML:455:28: error: GUID strings are 38 characters long

The valid format for a GUID is {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
where X is a hex digit (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F).
The length of the individual components must be: 8, 4, 4, 4, 12.

For some cases, the converted string generated by obj2yaml, does not
comply with those lengths. yaml2obj checks that the GUID string must
be 38 characters including the dashes and braces.

Reviewed By: amccarth

Differential Revision: https://reviews.llvm.org/D103089
The file was addedllvm/test/tools/obj2yaml/COFF/test-2.test
The file was addedllvm/test/tools/obj2yaml/COFF/Inputs/test-3.o
The file was addedllvm/test/tools/obj2yaml/COFF/Inputs/test-5.o
The file was addedllvm/test/tools/obj2yaml/COFF/test-1.test
The file was addedllvm/test/tools/obj2yaml/COFF/test-4.test
The file was modifiedllvm/lib/DebugInfo/CodeView/Formatters.cpp
The file was addedllvm/test/tools/obj2yaml/COFF/test-6.test
The file was addedllvm/test/tools/obj2yaml/COFF/test-5.test
The file was addedllvm/unittests/DebugInfo/CodeView/GUIDFormatTest.cpp
The file was addedllvm/test/tools/obj2yaml/COFF/test-3.test
The file was addedllvm/test/tools/obj2yaml/COFF/Inputs/test-1.o
The file was addedllvm/test/tools/obj2yaml/COFF/Inputs/test-4.o
The file was addedllvm/test/tools/obj2yaml/COFF/Inputs/test-6.o
The file was modifiedllvm/unittests/DebugInfo/CodeView/CMakeLists.txt
The file was addedllvm/test/tools/obj2yaml/COFF/Inputs/test-2.o
Commit d8c5a4d6b6efad405c71ead8997276d8d3a7c5ad by llvmgnsyncbot
[gn build] Port d0a5d8611935
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/DebugInfo/CodeView/BUILD.gn
Commit 6c7be4176703fff69d20acc466a879e080346f30 by tpopp
Support buffers in LinalgFoldUnitExtentDims

This doesn't add any canonicalizations, but executes the same
simplification on bufferSemantic linalg.generic ops by using
linalg::ReshapeOp instead of linalg::TensorReshapeOp.

Differential Revision: https://reviews.llvm.org/D103513
The file was modifiedmlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
Commit 454d92ac3b3b13f5c8b3f57e03b2d93f0cf60738 by gchatelet
[libc] Add a set of elementary operations

Resubmission of D100646 now making sure that we handle cases were `__builtin_memcpy_inline` is not available.

Original commit message:
Each of these elementary operations can be assembled to support higher order constructs (Overlapping access, Loop, Aligned Loop).
The patch does not compile yet as it depends on other ones (D100571, D100631) but it allows to get the conversation started.

A self-contained version of this code is available at https://godbolt.org/z/e1x6xdaxM
The file was modifiedlibc/src/string/aarch64/memcpy.cpp
The file was modifiedlibc/test/src/string/memory_utils/CMakeLists.txt
The file was addedlibc/test/src/string/memory_utils/memory_access_test.cpp
The file was addedlibc/src/string/memory_utils/elements_x86.h
The file was addedlibc/test/src/string/memory_utils/elements_test.cpp
The file was modifiedlibc/src/string/memcpy.cpp
The file was removedlibc/test/src/string/memory_utils/memcpy_utils_test.cpp
The file was modifiedlibc/src/string/memory_utils/CMakeLists.txt
The file was modifiedlibc/src/string/CMakeLists.txt
The file was removedlibc/src/string/memory_utils/memcpy_utils.h
The file was modifiedlibc/src/string/x86_64/memcpy.cpp
The file was modifiedlibc/src/string/memory_utils/memset_utils.h
The file was addedlibc/src/string/memory_utils/elements.h