Changes

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [MemoryLocation] Support strncpy in getForArgument. (details)
  2. [VE][NFC] Cleanup redundant namespace wrapper (details)
  3. [AMDGPU] Test for in-order waitcnt insertion for bvh instructions (details)
  4. [AMDGPU] Add support for in-order bvh in waitcnt pass (details)
  5. [SLP][NFC]Add a test for extractelements with many uses vectorization, NFC. (details)
  6. [clang-tidy] Fix build broken by commit 6a9487df73e917c4faf5e060f2bb33c6ade3f967 (D113148) (details)
  7. [AnnotationRemarks] Support generating annotation remarks with -O0. (details)
Commit 639a78a4bf9da0a03dcd12c27f625a134a3ee6cc by flo
[MemoryLocation] Support strncpy in getForArgument.

The size argument of strncpy can be used as bound for the size of
its pointer arguments.

strncpy is guaranteed to write N bytes and reads up to N bytes.

Reviewed By: xbolva00

Differential Revision: https://reviews.llvm.org/D114871
The file was modifiedllvm/test/Analysis/BasicAA/libfuncs.ll
The file was modifiedllvm/lib/Analysis/MemoryLocation.cpp
Commit e92429d99b2c903952a7217228a3eaaa02609163 by simon.moll
[VE][NFC] Cleanup redundant namespace wrapper
The file was modifiedllvm/lib/Target/VE/MCTargetDesc/VEInstPrinter.cpp
Commit 17a3385c3538530dc06851559a62eb8ec15f88d1 by david.stuttard
[AMDGPU] Test for in-order waitcnt insertion for bvh instructions

In-order bvh instructions don't require a waitcnt as order is
guaranteed.

However, waitcnt IS required for other image instruction types vs
bvh.

Pre-commit test for new functionality in https://reviews.llvm.org/D114794

Differential Revision: https://reviews.llvm.org/D114792
The file was addedllvm/test/CodeGen/AMDGPU/waitcnt-bvh.mir
Commit 0e8590f065992418b1da7dd2c1cc4f93c7831278 by david.stuttard
[AMDGPU] Add support for in-order bvh in waitcnt pass

bvh should be handled separately from vmem and vmem with sampler instructions
for waitcnt handling.

Differential Revision: https://reviews.llvm.org/D114794
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/waitcnt-bvh.mir
Commit 75106413d0802982b208ab5adf22c4c45766f0c2 by a.bataev
[SLP][NFC]Add a test for extractelements with many uses vectorization, NFC.
The file was addedllvm/test/Transforms/SLPVectorizer/X86/extractelement-multiple-uses.ll
Commit c006ea6bde234153abadc8927557da9b8e0dc029 by yitzhakm
[clang-tidy] Fix build broken by commit 6a9487df73e917c4faf5e060f2bb33c6ade3f967 (D113148)
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
Commit 770a50b28c00211f9a0ceb549da1f6fd9bb405a8 by flo
[AnnotationRemarks] Support generating annotation remarks with -O0.

This matches the legacy pass manager behavior. If remarks are not
enabled the pass is effectively a no-op.
The file was modifiedllvm/lib/Passes/PassBuilderPipelines.cpp
The file was modifiedllvm/test/Other/new-pm-O0-defaults.ll
The file was modifiedllvm/include/llvm/Transforms/Scalar/AnnotationRemarks.h