Changes

Summary

  1. [AMDGPU] Regenerate postra-bundle-memops.mir checks. NFC. (details)
  2. [PowerPC] Remove the redundant terminator instruction when optimizing conditional trap (details)
  3. Remove unused variable. (details)
  4. [SampleFDO] Add pass name strings for the passes (NFC) (details)
  5. [AMDGPU] Fix SIPostRABundler crash on null register used by dbg value (details)
  6. [SCEV] Defer all work from ea12c2cb as late as possible (details)
  7. libfuzzer: All building libfuzzer for ARM32 (details)
  8. [msan] Clang-format the test (details)
  9. [NFC][OpaquePtr][Evaluator] Remove call to PointerType::getElementType (details)
  10. [clang] fix regression deducing pack expansion arguments introduced by D110216 (details)
  11. [NFC][sanitizer] Rename persistent_allocator to stack_store (details)
  12. [nfc][dfsan] Remove obsolete comment (details)
  13. [NFC][sanitizer] Rename PersistentAllocator to StackStore (details)
  14. [NFC][sanitizer] Move inline implementation of StackStore into cpp (details)
  15. [NFC][sanitizer] Change StackStore API to use StackTrace (details)
  16. [NFC][sanitizer] constexpr StackStore::StackStore() (details)
  17. [NFC][sanitizer] Fix naming in StackStore (details)
  18. [AARCH64] Teach AArch64FrameLowering::getFrameIndexReferencePreferSP really prefer SP. (details)
  19. [libc++][doc] Mark project for [cmp.concept] done (details)
  20. BPF: Workaround InstCombine trunc+icmp => mask+icmp Optimization (details)
Commit 24cc79b9efff5e1411a537307b719510e8d660f5 by Stanislav.Mekhanoshin
[AMDGPU] Regenerate postra-bundle-memops.mir checks. NFC.
The file was modifiedllvm/test/CodeGen/AMDGPU/postra-bundle-memops.mir
Commit 40c65655aff911e21830db69e00dde601a40cf54 by wei.huang
[PowerPC] Remove the redundant terminator instruction when optimizing conditional trap

This patch is a follow up patch for ae27ca9a678301969c35f2e27c76f14c9d2bb396 to
the remove redundant terminator when optimizing conditional trap.

Peer reviewed by: nemanjai
The file was modifiedllvm/lib/Target/PowerPC/PPCMIPeephole.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/mi-peepholes-trap-opt.mir
Commit d9f56feda84ad9d9edfff32c64a70af73c5f9b6a by jingham
Remove unused variable.
The file was modifiedlldb/source/Core/ValueObjectConstResultImpl.cpp
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultImpl.h
Commit f2b5d81f62c71212cc16f7eb8f02fad4f1956908 by xur
[SampleFDO] Add pass name strings for the passes (NFC)
The file was modifiedllvm/include/llvm/CodeGen/MIRFSDiscriminator.h
The file was modifiedllvm/include/llvm/CodeGen/MIRSampleProfile.h
Commit f8e615462b4f1376674530cc55ab6b8993cec726 by Stanislav.Mekhanoshin
[AMDGPU] Fix SIPostRABundler crash on null register used by dbg value

Recently we started generate DBG_VALUEs with $noreg operands.
This crashes SIPostRABundler, and it should not iterate these
registers anyway.

Fixes: SWDEV-311733

Differential Revision: https://reviews.llvm.org/D114202
The file was modifiedllvm/test/CodeGen/AMDGPU/postra-bundle-memops.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIPostRABundler.cpp
Commit 734abbad79dbcbd0e880510fbab1ef0e701cfc7b by listmail
[SCEV] Defer all work from ea12c2cb as late as possible

This is a second speculative compile time optimization to address a reported regression.  My actual suspicion is that availability of no-self-wrap is making some *other* bit of code trigger, but let's rule this out.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 2782cb8da0b3c180fa7c8627cb255a026f3d25a2 by manojgupta
libfuzzer: All building libfuzzer for ARM32

We need libfuzzer libraries on Arm32 so that we can fuzz
Arm32 binaries on Linux (Chrome OS). Android already
allows Arm32 for libfuzzer.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D112091
The file was modifiedcompiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
Commit b0ea7ef0d6c2fca8e58a269b01a62031995e5fd7 by Vitaly Buka
[msan] Clang-format the test
The file was modifiedcompiler-rt/lib/msan/tests/msan_test.cpp
Commit 0425ea462197e605d597719f1630c68dbcc25ed8 by senran.zhang
[NFC][OpaquePtr][Evaluator] Remove call to PointerType::getElementType

There are still another 2 uses of PointerType::getElementType in
Evaluator when evaluating BitCast's on pointers. BitCast's on pointers
should be removed when opaque ptr is ready, so I just keep them as is.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D114131
The file was modifiedllvm/lib/Transforms/Utils/Evaluator.cpp
Commit 85914b757015dfbc780dc254696acb95b8dc7679 by mizvekov
[clang] fix regression deducing pack expansion arguments introduced by D110216

This test case had been missing when the original code
was introduced by 2fcb863b2b278.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Differential Revision: https://reviews.llvm.org/D114207
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p12.cpp
Commit 930ccf0191b4a33332d924522e5676fff583f083 by Vitaly Buka
[NFC][sanitizer] Rename persistent_allocator to stack_store
The file was modifiedcompiler-rt/lib/sanitizer_common/CMakeLists.txt
The file was addedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
The file was removedcompiler-rt/lib/sanitizer_common/sanitizer_persistent_allocator.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_chained_origin_depot.cpp
Commit b6169e231e2c6880578f418ea630ced395ffbebb by Vitaly Buka
[nfc][dfsan] Remove obsolete comment
The file was modifiedcompiler-rt/test/dfsan/release_shadow_space.c
Commit 368a3b5221032f0c253da0d66795550e2c60773b by Vitaly Buka
[NFC][sanitizer] Rename PersistentAllocator to StackStore
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
Commit 6bf71be9f920417a772b123fd42ab855496ad149 by Vitaly Buka
[NFC][sanitizer] Move inline implementation of StackStore into cpp
The file was addedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/CMakeLists.txt
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
The file was modifiedcompiler-rt/lib/tsan/go/build.bat
Commit bb50e97103360983c18639e258203aa1fdab90ff by Vitaly Buka
[NFC][sanitizer] Change StackStore API to use StackTrace
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
Commit 8210948a46378459643c81d0284955d0e0748a4c by Vitaly Buka
[NFC][sanitizer] constexpr StackStore::StackStore()
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
Commit d591a46d17aef35d9f17d7d68f5c6c6f8f305b25 by Vitaly Buka
[NFC][sanitizer] Fix naming in StackStore
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
Commit 3557f493534bb857e4a0f9ccfaf35f1a4a301b4b by serguei.katkov
[AARCH64] Teach AArch64FrameLowering::getFrameIndexReferencePreferSP really prefer SP.

Do more efforts to use sp if it is possible to lower a frame index.

Reviewers: reames, loicottet, ostannard, t.p.northover
Reviewed By: reames
Subscribers: arphaman, danilaml, hiraditya, kristof.beyls, llvm-commits, Matt, yrouban
Differential Revision: https://reviews.llvm.org/D111133
The file was addedllvm/test/CodeGen/AArch64/statepoint-call-lowering-sp.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
Commit 870dfa6b08d0304d4845491a15bd1bee711e6c52 by k
[libc++][doc] Mark project for [cmp.concept] done

Mark [cmp.concept] implementation as completed in our documentation.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D114203
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
Commit 8fb3f84484094230d563c1e4c1088755b7cde15b by yhs
BPF: Workaround InstCombine trunc+icmp => mask+icmp Optimization

Patch [1] added further InstCombine trunc+icmp => mask+icmp
optimization and this caused a couple of bpf selftest failure.
Previous llvm BPF backend patch [2] introduced llvm.bpf.compare
builtin to handle such situations.

This patch further added support ">" and ">=" icmp opcodes.
Tested with bpf selftests and all tests are passed including two
previously failed ones.

Note Patch [1] also added optimization if the to-be-compared
constant is negative-power-of-2 (-C) or not-of-power-of-2 (~C).
This patch didn't implement these two cases as typical bpf
program compares a scalar to a positive length or boundary value,
and this scalar later is used as a index into an array buffer
or packet buffer.

  [1] https://reviews.llvm.org/D112634
  [2] https://reviews.llvm.org/D112938

Differential Revision: https://reviews.llvm.org/D114215
The file was modifiedllvm/lib/Target/BPF/BPFAdjustOpt.cpp
The file was addedllvm/test/CodeGen/BPF/adjust-opt-icmp4.ll