AbortedChanges

Summary

  1. [mlir][openacc][NFC] add anonymous namespace around LegalizeDataOpForLLVMTranslation class (details)
  2. [AArch64][GlobalISel] Fix a crash during unsuccessful G_CTPOP <2 x s64> legalization. (details)
  3. [Debug-Info] make DIE attributes generation under strict DWARF control (details)
  4. [sanitizer] Use size_t on g_tls_size to fix build on x32 (details)
  5. [test] Fix new-pm-lto-defaults.ll to work on all platforms (details)
  6. scudo: Check for UAF in ring buffer before OOB in more distant blocks. (details)
  7. scudo: Fix MTE error reporting for zero-sized allocations. (details)
  8. [Debug-Info] change Tag type to dwarf::Tag for createAndAddDIE; NFC (details)
  9. [mlir] VectorToSCF target rank is a pass option (details)
  10. [ORC] Remove some stale unit test utils. (details)
  11. [ORC] Remove unused RTDyldObjectLinkingLayerExecutionTest class from unit test. (details)
  12. [ORC] Remove the OrcExecutionTest class. It is no longer used. (details)
  13. [MLIR] Fix build failures due to unused variables in non-debug builds. (details)
Commit 8fdfead71aba430c163cc9c972a387a17fd8b939 by clementval
[mlir][openacc][NFC] add anonymous namespace around LegalizeDataOpForLLVMTranslation class

Add missing anonymous namespace around LegalizeDataOpForLLVMTranslation class .

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D102380
The file was modifiedmlir/lib/Conversion/OpenACCToLLVM/OpenACCToLLVM.cpp
Commit af6eb1c710ca17f2f9bce667b9fb593b6541f260 by Amara Emerson
[AArch64][GlobalISel] Fix a crash during unsuccessful G_CTPOP <2 x s64> legalization.

The legalization rule for scalar-same-as doesn't handle vectors. Until we
implement custom legalization for this, at least fall back properly.
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/legalize-vector-ctpop.mir
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
Commit 75f3beeedf6343e2ce1e8143e0d037d96cdab0b2 by czhengsz
[Debug-Info] make DIE attributes generation under strict DWARF control

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D101024
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
The file was modifiedllvm/test/DebugInfo/PowerPC/strict-dwarf.ll
Commit 72797dedb720fae22682fc884cbf741c5a2066c2 by i
[sanitizer] Use size_t on g_tls_size to fix build on x32

On x32 size_t == unsigned int, not unsigned long int:

../../../../../src-master/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cpp: In function ??void __sanitizer::InitTlsSize()??:
../../../../../src-master/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cpp:209:55: error: invalid conversion from ??__sanitizer::uptr*?? {aka ??long unsigned int*??} to ??size_t*?? {aka ??unsigned int*??} [-fpermissive]
  209 |   ((void (*)(size_t *, size_t *))get_tls_static_info)(&g_tls_size, &tls_align);
      |                                                       ^~~~~~~~~~~
      |                                                       |
      |                                                       __sanitizer::uptr* {aka long unsigned int*}

by using size_t on g_tls_size.  This is to fix:

https://bugs.llvm.org/show_bug.cgi?id=50332

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D102446
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
Commit ab6a609d961181bbac0d1ea0a830061049990020 by aeubanks
[test] Fix new-pm-lto-defaults.ll to work on all platforms

https://lab.llvm.org/buildbot/#/builders/119/builds/3775/steps/8/logs/FAIL__LLVM__new-pm-lto-defaults_ll

Followup to D102345.
The file was modifiedllvm/test/Other/new-pm-lto-defaults.ll
Commit 9567131d03650bbaa82251f173bd6959e04d471d by peter
scudo: Check for UAF in ring buffer before OOB in more distant blocks.

It's more likely that we have a UAF than an OOB in blocks that are
more than 1 block away from the fault address, so the UAF should
appear first in the error report.

Differential Revision: https://reviews.llvm.org/D102379
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
Commit f79929aceae966f9419cfc00c275e5e60bd0ee54 by peter
scudo: Fix MTE error reporting for zero-sized allocations.

With zero-sized allocations we don't actually end up storing the
address tag to the memory tag space, so store it in the first byte of
the chunk instead so that we can find it later in getInlineErrorInfo().

Differential Revision: https://reviews.llvm.org/D102442
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
Commit 61484762e9e95aa430083ceb5bd53fe0c849728e by czhengsz
[Debug-Info] change Tag type to dwarf::Tag for createAndAddDIE; NFC

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D102207
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
Commit 2ca887de6e3c83f77e3ccde172ff55042cece6ab by springerm
[mlir] VectorToSCF target rank is a pass option

Make "target rank" a pass option of VectorToSCF.

Depends On D102101

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D102123
The file was modifiedmlir/include/mlir/Conversion/VectorToSCF/VectorToSCF.h
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
Commit c76e3c319ebfeecbc2814ae7ac44516b5f0b4027 by Lang Hames
[ORC] Remove some stale unit test utils.

This code was used to test ORCv1, which has been removed. It is not useful for
testing ORCv2.
The file was modifiedllvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h
Commit 527bd6dc1cc1a9ca14f40ef4eb5b5c1493da43b0 by Lang Hames
[ORC] Remove unused RTDyldObjectLinkingLayerExecutionTest class from unit test.
The file was modifiedllvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
Commit 65736ac439beb12313d76c5b8bda12b3d0f469da by Lang Hames
[ORC] Remove the OrcExecutionTest class. It is no longer used.
The file was modifiedllvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h
Commit 23a84e1c602c9ed42f51653805ce9e7f4d49be2a by jurahul
[MLIR] Fix build failures due to unused variables in non-debug builds.

Differential Revision: https://reviews.llvm.org/D102458
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp