SuccessChanges

Summary

  1. Default stack alignment of x86 NaCl to 16 bytes (details)
  2. [symbolizer] Added StartAddress for the resolved function. (details)
  3. [Demangle][Rust] Speculative fix for bot build failure (details)
  4. [OpenMP] Stabilize OpenMP/parallel_for_codegen.cpp test (NFC) (details)
  5. [SampleFDO] New hierarchical discriminator for Flow Sensitive SampleFDO (details)
  6. [gn build] Port 886629a8c9e5 (details)
  7. Fix a buildbot failure from commit 886629a8 (details)
  8. [libc++] Some fixes to the <bit> utilities. (details)
  9. [libc++] Alphabetize header inclusions and include-what-you-use <__debug>. NFCI. (details)
Commit 5f2b27666797c6462641434fee7ee010c77d22c0 by dschuff
Default stack alignment of x86 NaCl to 16 bytes

X86 NaCl generally requires the stack to be aligned to 16 bytes.
This change was already implemented in two downstream NaCl compilers
based on llvm.

Reviewed By: dschuff

Differential Revision: https://reviews.llvm.org/D102610
The file was modifiedllvm/test/CodeGen/X86/stack-align2.ll
The file was modifiedllvm/lib/Target/X86/X86Subtarget.cpp
Commit 4fedb3a613a3ebfb91f42b454e476c29cd05b8f5 by aorlov
[symbolizer] Added StartAddress for the resolved function.

In many cases it is helpful to know at what address the resolved function starts.
This patch adds a new StartAddress member to the DILineInfo structure.

Reviewed By: jhenderson, dblaikie

Differential Revision: https://reviews.llvm.org/D102316
The file was modifiedllvm/docs/CommandGuide/llvm-symbolizer.rst
The file was modifiedllvm/include/llvm/DebugInfo/DIContext.h
The file was modifiedllvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/lib/DebugInfo/Symbolize/DIPrinter.cpp
The file was modifiedllvm/test/tools/llvm-symbolizer/output-style-json-code.test
The file was modifiedllvm/test/tools/llvm-symbolizer/sym-verbose.test
The file was modifiedllvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h
Commit 57f408861d423ead3fc408dbb203778938eb2fe3 by tomasz.miasko
[Demangle][Rust] Speculative fix for bot build failure

> error: ‘InType’ is not a class, namespace, or enumeration
The file was modifiedllvm/lib/Demangle/RustDemangle.cpp
Commit ff99fdf63f9939d5205c0c0df85f28c5509eac0f by michael.p.rice
[OpenMP] Stabilize OpenMP/parallel_for_codegen.cpp test (NFC)

Revert recent commit to require x86-registered-target (e4b790c5e3653053819182a67c593bc65de860ac).
Remove -O1 from the run lines so they are less dependent on backend passes.
Update the CHECK6 and CHECK10 lines with script.

Differential Revision: https://reviews.llvm.org/D102720
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
Commit 886629a8c9e58752627d8ae7abf6fa93191a3df8 by xur
[SampleFDO] New hierarchical discriminator for Flow Sensitive SampleFDO

This patch implements first part of Flow Sensitive SampleFDO (FSAFDO).
It has the following changes:
(1) disable current discriminator encoding scheme,
(2) new hierarchical discriminator for FSAFDO.

For this patch, option "-enable-fs-discriminator=true" turns on the new
functionality. Option "-enable-fs-discriminator=false" (the default)
keeps the current SampleFDO behavior. When the fs-discriminator is
enabled, we insert a flag variable, namely, llvm_fs_discriminator, to
the object. This symbol will checked by create_llvm_prof tool, and used
to generate a profile with FS-AFDO discriminators enabled. If this
happens, for an extbinary format profile, create_llvm_prof tool
will add a flag to profile summary section.

Differential Revision: https://reviews.llvm.org/D102246
The file was modifiedllvm/lib/Transforms/Utils/LoopUnroll.cpp
The file was addedllvm/test/CodeGen/X86/fsafdo_test2.ll
The file was addedllvm/lib/CodeGen/MIRFSDiscriminator.cpp
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp
The file was addedllvm/include/llvm/Support/Discriminator.h
The file was modifiedllvm/lib/LTO/LTOBackend.cpp
The file was addedllvm/test/CodeGen/X86/fsafdo_test1.ll
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
The file was addedllvm/include/llvm/CodeGen/MIRFSDiscriminator.h
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedllvm/include/llvm/LTO/Config.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
Commit 09ac3523b6729c9300e044081c442c304602cfd9 by llvmgnsyncbot
[gn build] Port 886629a8c9e5
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Commit a32e39a75b8137ee20c623887cbc1b4865e49b94 by xur
Fix a buildbot failure from commit 886629a8
The file was modifiedllvm/lib/CodeGen/MIRFSDiscriminator.cpp
Commit e130fbe24e5801feba4526ef5b190acbefba7d91 by arthur.j.odwyer
[libc++] Some fixes to the <bit> utilities.

Fix __bitop_unsigned_integer and rename to __libcpp_is_unsigned_integer.
There are only five unsigned integer types, so we should just list them out.
Also provide `__libcpp_is_signed_integer`, even though the Standard doesn't
consume that trait anywhere yet.

Notice that `concept uniform_random_bit_generator` is specifically specified
to rely on `concept unsigned_integral` and *not* `__is_unsigned_integer`.
Instantiating `std::ranges::sample` with a type `U` satisfying
`uniform_random_bit_generator` where `unsigned_integral<U::result_type>`
and not `__is_unsigned_integer<U::result_type>` is simply IFNDR.

Orthogonally, fix an undefined behavior in std::countr_zero(__uint128_t).

Orthogonally, improve tests for the <bit> manipulation functions.
It was these new tests that detected the bug in countr_zero.

Differential Revision: https://reviews.llvm.org/D102328
The file was modifiedlibcxx/include/bit
The file was modifiedlibcxx/test/std/numerics/bit/bitops.count/countr_one.pass.cpp
The file was modifiedlibcxx/test/std/numerics/bit/bitops.rot/rotr.pass.cpp
The file was modifiedlibcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp
The file was modifiedlibcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp
The file was modifiedlibcxx/test/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp
The file was modifiedlibcxx/test/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp
The file was modifiedlibcxx/test/std/numerics/bit/bitops.count/countl_one.pass.cpp
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxx/test/std/numerics/bit/bitops.count/popcount.pass.cpp
The file was modifiedlibcxx/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp
The file was modifiedlibcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp
The file was modifiedlibcxx/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp
Commit 06b40e80aefc9a7ccf2efbf7717037bd103a779c by arthur.j.odwyer
[libc++] Alphabetize header inclusions and include-what-you-use <__debug>. NFCI.
The file was modifiedlibcxx/include/span
The file was modifiedlibcxx/include/deque
The file was modifiedlibcxx/include/__node_handle
The file was modifiedlibcxx/include/map
The file was modifiedlibcxx/include/bit
The file was modifiedlibcxx/include/numeric
The file was modifiedlibcxx/include/regex
The file was modifiedlibcxx/include/functional
The file was modifiedlibcxx/include/set
The file was modifiedlibcxx/include/fstream
The file was modifiedlibcxx/include/future