Changes

Summary

  1. Revert "[sanitizer] Don't tie builders with particular workers" (details)
Commit b899cd8edcb824c4e4f999ef254209060d1ab646 by Vitaly Buka
Revert "[sanitizer] Don't tie builders with particular workers"

This reverts commit d37259ec73a4341700e981214b9032631adfdda0.
With some changes.
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [NFC] Use CHECK-LABEL in trip-count-unknown-stride.ll (details)
  2. [mlir][Vector] Remove Vector TupleOp as it is unused (details)
  3. [lld][AMDGPU] Handle R_AMDGPU_REL16 relocation. (details)
  4. [libc++] [test] Add a missing `()` in TestEachIntegralType. (details)
  5. Revert "sanitizer_common: optimize memory drain" (details)
  6. [NFC][sanitizer] clang-format part of D105778 (details)
  7. [docs/llvm-cov] Document -compilation-dir (details)
  8. [libc] Add on float properties for precision floating point numbers in FloatProperties.h (details)
  9. [NFC][sanitizer] Move MemoryMapper out of SizeClassAllocator64 (details)
  10. [libcxx] [docs] Acknowledge that the library is known to work in some configs outside of what's tested in CI (details)
  11. [SCEV] Handle zero stride correctly in howManyLessThans (details)
  12. [sanitizer] Few more NFC changes from D105778 (details)
  13. [libc] Don't pass -fpie/-ffreestanding on Windows (details)
  14. [libc] Capture floating point encoding and arrange it sequentially in memory (details)
  15. [LLD] Adding support for RELA for CG Profile. (details)
  16. [WebAssembly] Run varargs codegen test with non-emscripten triple (details)
  17. Add more types to the LLVM dialect C API (details)
Commit b28c465e4902f579799bc94512197c04a5ad4a29 by efriedma
[NFC] Use CHECK-LABEL in trip-count-unknown-stride.ll
The file was modifiedllvm/test/Analysis/ScalarEvolution/trip-count-unknown-stride.ll
Commit 6296e109728d58805004739530b8f265c6a130b9 by thomasraoux
[mlir][Vector] Remove Vector TupleOp as it is unused

TupleOp is not used anymore after recent refactoring.

Differential Revision: https://reviews.llvm.org/D105924
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
Commit fb9c5c3dce27b352534641dbb6e3cb8c05da7bc9 by abidh
[lld][AMDGPU] Handle R_AMDGPU_REL16 relocation.

This patch is a followup patch to https://reviews.llvm.org/D105760 which adds this relocation. This handles the relocation in lld.

The s_branch family of instruction does the following:
PC = PC + signext(simm * 4) + 4

so we we do the opposite on the target address before writing it in the instruction stream.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D105761
The file was addedlld/test/ELF/amdgpu-relocs2.s
The file was modifiedlld/ELF/Arch/AMDGPU.cpp
Commit 7efe3887858fe77da5c6687e3ac9ed9b00f9ed4e by arthur.j.odwyer
[libc++] [test] Add a missing `()` in TestEachIntegralType.
The file was modifiedlibcxx/test/support/atomic_helpers.h
Commit ba8dcaef0d79ae0174cdcea6d6f62015266c1d40 by Vitaly Buka
Revert "sanitizer_common: optimize memory drain"

Breaks https://lab.llvm.org/buildbot/#/builders/anitizer-windows

This reverts commit d89d3dfae17d7795dc1ef013db66272020de1959.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_local_cache.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
Commit d558bfaf8e1e8e7814053abc406cdaaed00cf784 by Vitaly Buka
[NFC][sanitizer] clang-format part of D105778
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_local_cache.h
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
Commit 5105a77035d080a5f14668b136c8def52b182ce2 by Vedant Kumar
[docs/llvm-cov] Document -compilation-dir

Document the `-compilation-dir` option added in D100232.

Differential Revision: https://reviews.llvm.org/D105826
The file was modifiedllvm/docs/CommandGuide/llvm-cov.rst
Commit d12a7f142e2430f4983c668d910897db8cc2afc7 by hedingarcia
[libc] Add on float properties for precision floating point numbers in FloatProperties.h

Defined constant that express the number of bits for exponent in single and double precision. Added bit masks values and other properties for quad precision floating point numbers that specifically targets architectures defined in PlatfromDefs.h. The exponentWidth values were added to be used in LongDoubleBitsX86.h where the implementation to set the exponent component uses this and the bitWidth value. The need occurred because of the 80-bit quad precision implementation.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D105153
The file was modifiedlibc/utils/FPUtil/FloatProperties.h
Commit 9f1f666b30c03376d3816f7b2d18c93073517330 by Vitaly Buka
[NFC][sanitizer] Move MemoryMapper out of SizeClassAllocator64

Part of D105778
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
Commit 1c69005c2e11414669ac8ba094a9b059920936db by martin
[libcxx] [docs] Acknowledge that the library is known to work in some configs outside of what's tested in CI

Differential Revision: https://reviews.llvm.org/D105888
The file was modifiedlibcxx/docs/index.rst
Commit 4df591b5c960affd1612e330d0c9cd3076c18053 by listmail
[SCEV] Handle zero stride correctly in howManyLessThans

This is split from D105216, but the code is hoisted much earlier into the path where we can actually get a zero stride flowing through. Some fairly simple proofs handle the cases which show up in practice. The only test changes are the cases where we really do need a non-zero divider to produce the right result.

Differential Revision: https://reviews.llvm.org/D105921
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/trip-count-unknown-stride.ll
Commit f990da59c5df840526baeb70bc5b5594fb5599ed by Vitaly Buka
[sanitizer] Few more NFC changes from D105778
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_local_cache.h
Commit a16071e409a55cfc83e59eb738fd6144207dd5d1 by caitlyncano
[libc] Don't pass -fpie/-ffreestanding on Windows

The current compile options function hardcodes the -fpie and
-ffreestanding flags, which don't exist on Windows. This patch sets the
compilation flags conditionally based on the OS specifics.

Reviewed By: sivachandra, aeubanks

Differential Revision: https://reviews.llvm.org/D105643
The file was modifiedlibc/cmake/modules/LLVMLibCObjectRules.cmake
Commit a5a337e55ed2e265358ac0a2ce6db1af2dd69e07 by hedingarcia
[libc] Capture floating point encoding and arrange it sequentially in memory

Redefined FPBits.h and LongDoubleBitsX86 so its implementation works for the Windows
and Linux platform while maintaining a packed memory alignment of the precision floating
point numbers. For its size in memory to be the same as the data type of the float point number.
This change was necessary because the previous attribute((packed)) specification in the struct was not working
for Windows like it was for Linux and consequently static_asserts in the FPBits.h file were failing.

Reviewed By: aeubanks, sivachandra

Differential Revision: https://reviews.llvm.org/D105561
The file was modifiedlibc/test/src/math/RoundToIntegerTest.h
The file was modifiedlibc/utils/FPUtil/DivisionAndRemainderOperations.h
The file was modifiedlibc/utils/FPUtil/NextAfterLongDoubleX86.h
The file was modifiedlibc/utils/FPUtil/TestHelpers.cpp
The file was modifiedlibc/utils/FPUtil/FPBits.h
The file was modifiedlibc/utils/FPUtil/NormalFloat.h
The file was modifiedlibc/utils/FPUtil/generic/FMA.h
The file was modifiedlibc/utils/FPUtil/Hypot.h
The file was modifiedlibc/test/src/math/LdExpTest.h
The file was modifiedlibc/test/src/math/NextAfterTest.h
The file was modifiedlibc/utils/FPUtil/LongDoubleBitsX86.h
The file was modifiedlibc/utils/FPUtil/Sqrt.h
The file was modifiedlibc/utils/FPUtil/NearestIntegerOperations.h
The file was modifiedlibc/test/src/math/SqrtTest.h
The file was modifiedlibc/utils/FPUtil/BasicOperations.h
The file was modifiedlibc/utils/FPUtil/ManipulationFunctions.h
The file was modifiedlibc/utils/FPUtil/SqrtLongDoubleX86.h
Commit 24129fbc9aa006badc2e6e8432980cb94aba090c by ayermolo
[LLD] Adding support for RELA for CG Profile.

This is a follow up to https://reviews.llvm.org/D104080, and https://github.com/llvm/llvm-project/commit/ca3bdb57fa1ac98b711a735de048c12b5fdd8086#diff-e64a48fabe31db213a631fdc5f2acb51bdddf3f16a8fb2928784f4c579229585. The implementation of  call graph profile was changed from a black box section to relocation approach. This was done to be compatible with post processing tools like strip/objcopy, and llvm equivalent. When they are invoked on object file before the final linking step with this new approach the symbol indices correctness is preserved.

The GNU binutils tools change the REL section to RELA section, unlike llvm tools. For example when strip -S is run on the ELF object files, as an intermediate step before linking. To preserve compatibility this patch extends implementation in LLD and ELFDumper to support both REL and RELA sections for call graph profile.

Reviewed By: MaskRay, jhenderson

Differential Revision: https://reviews.llvm.org/D105217
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/InputFiles.h
The file was modifiedlld/ELF/InputFiles.cpp
The file was addedlld/test/ELF/cgprofile-rela.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/call-graph-profile.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit d4e2693a679927a62dd738dd3bba24863dcd290a by dschuff
[WebAssembly] Run varargs codegen test with non-emscripten triple

This is a followup from D105749 to cover both triples in the case
where they differ.
The file was modifiedllvm/test/CodeGen/WebAssembly/varargs.ll
Commit 8a2720d81e159fc71550b10b4c34f1de912d5880 by jpienaar
Add more types to the LLVM dialect C API

This includes:
- void type
- array types
- function types
- literal (unnamed) struct types

Reviewed By: jpienaar, ftynse

Differential Revision: https://reviews.llvm.org/D105908
The file was modifiedmlir/lib/CAPI/Dialect/LLVM.cpp
The file was modifiedmlir/include/mlir-c/Dialect/LLVM.h
The file was modifiedmlir/test/CAPI/llvm.c